mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-03 02:47:06 -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
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ QList<Window> AutoTypePlatformX11::widgetsToX11Windows(const QWidgetList& widget
|
||||||
QList<Window> windows;
|
QList<Window> windows;
|
||||||
|
|
||||||
Q_FOREACH (const QWidget* widget, widgetList) {
|
Q_FOREACH (const QWidget* widget, widgetList) {
|
||||||
windows.append(widget->winId());
|
windows.append(widget->effectiveWinId());
|
||||||
}
|
}
|
||||||
|
|
||||||
return windows;
|
return windows;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue