Skip to content

Commit 7229ae0

Browse files
author
Paweł Salawa
committed
#5691 Fixed tooltip in Database Dialog with Wayland under Linux.
1 parent d5a50a0 commit 7229ae0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Letos/gui/dialogs/dbdialog.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ void DbDialog::showEvent(QShowEvent *e)
141141
testConnectionClicked();
142142

143143
QDialog::showEvent(e);
144+
145+
// On Linux+Wayland this dialog does not seem to get focus properly, causing issues with the WidgetIndicator tooltips
146+
raise();
147+
activateWindow();
144148
ui->fileEdit->setFocus();
145149
}
146150

0 commit comments

Comments
 (0)