aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletcontroller.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2019-09-07 12:07:54 +0200
committerJon Atack <jon@atack.com>2019-09-09 11:04:32 +0200
commitcad3ab5db835e1d0c44c6a5fc0e4b2d1661dcd5c (patch)
tree6dcacc47bdae56fb8f7f75a6d88b07a22e1196d7 /src/qt/walletcontroller.cpp
parent539d9403af956c76ae0149a58c07c71a6b58ac69 (diff)
gui: fix autofocus in CreateWalletActivity::askPassphrase()
Diffstat (limited to 'src/qt/walletcontroller.cpp')
-rw-r--r--src/qt/walletcontroller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/walletcontroller.cpp b/src/qt/walletcontroller.cpp
index 4fab3752e1..fa6f9f3f16 100644
--- a/src/qt/walletcontroller.cpp
+++ b/src/qt/walletcontroller.cpp
@@ -182,6 +182,7 @@ CreateWalletActivity::~CreateWalletActivity()
void CreateWalletActivity::askPassphrase()
{
m_passphrase_dialog = new AskPassphraseDialog(AskPassphraseDialog::Encrypt, m_parent_widget, &m_passphrase);
+ m_passphrase_dialog->setWindowModality(Qt::ApplicationModal);
m_passphrase_dialog->show();
connect(m_passphrase_dialog, &QObject::destroyed, [this] {