We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d6cfd7 commit 86cdd24Copy full SHA for 86cdd24
src/qt/walletview.cpp
@@ -333,7 +333,7 @@ void WalletView::unlockWallet(bool fForMixingOnly)
333
{
334
// Unlock wallet when requested by wallet model
335
if (walletModel->getEncryptionStatus() == WalletModel::Locked || walletModel->getEncryptionStatus() == WalletModel::UnlockedForMixingOnly) {
336
- AskPassphraseDialog dlg(AskPassphraseDialog::Unlock, this);
+ AskPassphraseDialog dlg(fForMixingOnly ? AskPassphraseDialog::UnlockMixing : AskPassphraseDialog::Unlock, this);
337
dlg.setModel(walletModel);
338
// A modal dialog must be synchronous here as expected
339
// in the WalletModel::requestUnlock() function.
0 commit comments