mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-26 01:11:16 -05: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"
|
"If you would like to allow it access to your KeePassXC database,\n"
|
||||||
"give it a unique name to identify and accept it."));
|
"give it a unique name to identify and accept it."));
|
||||||
keyDialog.setOkButtonText(tr("Save and allow access"));
|
keyDialog.setOkButtonText(tr("Save and allow access"));
|
||||||
|
keyDialog.setWindowFlags(keyDialog.windowFlags() | Qt::WindowStaysOnTopHint);
|
||||||
keyDialog.show();
|
keyDialog.show();
|
||||||
keyDialog.activateWindow();
|
keyDialog.activateWindow();
|
||||||
keyDialog.raise();
|
keyDialog.raise();
|
||||||
keyDialog.setWindowFlags(keyDialog.windowFlags() | Qt::WindowStaysOnTopHint);
|
|
||||||
auto ok = keyDialog.exec();
|
auto ok = keyDialog.exec();
|
||||||
|
|
||||||
id = keyDialog.textValue();
|
id = keyDialog.textValue();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user