mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-31 06:45:54 +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;
|
bool ok;
|
||||||
QString passphrase = QInputDialog::getText(nullptr, "Wallet Passphrase Needed", "Enter passphrase:", QLineEdit::EchoMode::Password, "", &ok);
|
QString passphrase = QInputDialog::getText(nullptr, "Wallet Passphrase Needed", "Enter passphrase:", QLineEdit::EchoMode::Password, "", &ok);
|
||||||
if (ok) {
|
m_walletManager->onPassphraseEntered(passphrase, false, false);
|
||||||
m_walletManager->onPassphraseEntered(passphrase, false, false);
|
|
||||||
} else {
|
|
||||||
m_walletManager->onPassphraseEntered(passphrase, false, true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ######################## TRAY ########################
|
// ######################## TRAY ########################
|
||||||
|
|
Loading…
Reference in a new issue