mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-03 17:39:49 +00:00
trezor: assume empty passphrase if cancelled
This commit is contained in:
parent
bbe65feab7
commit
33dd6f3c83
1 changed files with 1 additions and 5 deletions
|
@ -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 ########################
|
||||
|
|
Loading…
Reference in a new issue