mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Use effectiveWinId() instead of winId() in widgetsToX11Windows().
winId() creates native handles as a side effect. This sometimes triggers a bug that causes DatabaseTabWidget to not be updated anymore.
This commit is contained in:
parent
8b0409b228
commit
23c787c4dd
@ -268,7 +268,7 @@ QList<Window> AutoTypePlatformX11::widgetsToX11Windows(const QWidgetList& widget
|
||||
QList<Window> windows;
|
||||
|
||||
Q_FOREACH (const QWidget* widget, widgetList) {
|
||||
windows.append(widget->winId());
|
||||
windows.append(widget->effectiveWinId());
|
||||
}
|
||||
|
||||
return windows;
|
||||
|
Loading…
Reference in New Issue
Block a user