mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fix keepass-browser based popups on tiling WMs
If we set the window flags after showing/activating the window the window will not pop up. Fixes: https://github.com/keepassxreboot/keepassxc/issues/1452
This commit is contained in:
parent
a5993afb60
commit
78e962e30a
@ -188,10 +188,10 @@ QString BrowserService::storeKey(const QString& key)
|
||||
"If you would like to allow it access to your KeePassXC database,\n"
|
||||
"give it a unique name to identify and accept it."));
|
||||
keyDialog.setOkButtonText(tr("Save and allow access"));
|
||||
keyDialog.setWindowFlags(keyDialog.windowFlags() | Qt::WindowStaysOnTopHint);
|
||||
keyDialog.show();
|
||||
keyDialog.activateWindow();
|
||||
keyDialog.raise();
|
||||
keyDialog.setWindowFlags(keyDialog.windowFlags() | Qt::WindowStaysOnTopHint);
|
||||
auto ok = keyDialog.exec();
|
||||
|
||||
id = keyDialog.textValue();
|
||||
|
Loading…
Reference in New Issue
Block a user