mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
trezor: assume empty passphrase if cancelled
This commit is contained in:
@@ -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 ########################
|
||||
|
||||
Reference in New Issue
Block a user