]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
WindowManager: ensure m_wizard is initialized
authortobtoht <tob@featherwallet.org>
Mon, 6 Mar 2023 18:53:43 +0000 (19:53 +0100)
committertobtoht <tob@featherwallet.org>
Mon, 6 Mar 2023 18:53:43 +0000 (19:53 +0100)
src/WindowManager.cpp

index b22dfb02bbcfa3cd3f11c9a67e909e7371f581fd..6782ae2473c065fb5bc379c7f4bcf8cd43863eaf 100644 (file)
@@ -259,7 +259,11 @@ void WindowManager::onWalletOpenPasswordRequired(bool invalidPassword, const QSt
         case QDialog::Rejected:
         {
             m_openWalletTriedOnce = false;
-            m_wizard->show();
+            if (m_wizard) {
+                m_wizard->show();
+            } else {
+                this->showWizard(WalletWizard::Page_Menu);
+            }
             return;
         }
     }