Merge pull request #1456 from prometheanfire/fix-keepass-browser-popup

Fix keepass-browser based popups on tiling WMs
This commit is contained in:
Janek Bevendorff 2018-02-04 22:50:34 +01:00 committed by GitHub
commit e0809a2ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();