File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,9 @@ void BitcoinGUI::createActions()
375375 for (const std::pair<const std::string, bool >& i : m_wallet_controller->listWalletDir ()) {
376376 const std::string& path = i.first ;
377377 QString name = path.empty () ? QString (" [" +tr (" default wallet" )+" ]" ) : QString::fromStdString (path);
378- // Menu items remove single &. Single & are shown when && is in the string, but only the first occurrence. So replace only the first & with &&
378+ // Menu items remove single &. Single & are shown when && is in
379+ // the string, but only the first occurrence. So replace only
380+ // the first & with &&.
379381 name.replace (name.indexOf (QChar (' &' )), 1 , QString (" &&" ));
380382 QAction* action = m_open_wallet_menu->addAction (name);
381383
Original file line number Diff line number Diff line change @@ -182,6 +182,7 @@ CreateWalletActivity::~CreateWalletActivity()
182182void CreateWalletActivity::askPassphrase ()
183183{
184184 m_passphrase_dialog = new AskPassphraseDialog (AskPassphraseDialog::Encrypt, m_parent_widget, &m_passphrase);
185+ m_passphrase_dialog->setWindowModality (Qt::ApplicationModal);
185186 m_passphrase_dialog->show ();
186187
187188 connect (m_passphrase_dialog, &QObject::destroyed, [this ] {
You can’t perform that action at this time.
0 commit comments