mirror of
https://github.com/tnodir/fort
synced 2024-11-15 14:56:05 +00:00
UI: Raise & activate the password dialog after shown.
This commit is contained in:
parent
f568020322
commit
e359f1ec45
@ -106,6 +106,11 @@ void PasswordDialog::setupButtonBox()
|
||||
bool PasswordDialog::getPassword(QString &password, UnlockType &unlockType, QWidget *parent)
|
||||
{
|
||||
PasswordDialog dialog(parent);
|
||||
|
||||
dialog.show();
|
||||
dialog.raise();
|
||||
dialog.activateWindow();
|
||||
|
||||
if (dialog.exec() == 0)
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user