diff --git a/src/WindowManager.cpp b/src/WindowManager.cpp index ebd3976..b22dfb0 100644 --- a/src/WindowManager.cpp +++ b/src/WindowManager.cpp @@ -549,11 +549,7 @@ void WindowManager::onWalletPassphraseNeeded(bool on_device) { bool ok; QString passphrase = QInputDialog::getText(nullptr, "Wallet Passphrase Needed", "Enter passphrase:", QLineEdit::EchoMode::Password, "", &ok); - if (ok) { - m_walletManager->onPassphraseEntered(passphrase, false, false); - } else { - m_walletManager->onPassphraseEntered(passphrase, false, true); - } + m_walletManager->onPassphraseEntered(passphrase, false, false); } // ######################## TRAY ########################