WindowManager: ensure application is closed if exit after failure to create wallet from hw device

This commit is contained in:
tobtoht 2023-04-20 16:50:36 +02:00
parent 170feaa1b1
commit e6576e1064
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -380,6 +380,7 @@ void WindowManager::onWalletCreated(Wallet *wallet) {
this->displayWalletErrorMessage(wallet->errorString()); this->displayWalletErrorMessage(wallet->errorString());
m_splashDialog->hide(); m_splashDialog->hide();
this->showWizard(WalletWizard::Page_Menu); this->showWizard(WalletWizard::Page_Menu);
m_openingWallet = false;
return; return;
} }