Skip to content

Commit

Permalink
Update topbar.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Jul 18, 2020
1 parent 4e8b31a commit bb830ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/dogecash/topbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void TopBar::unlockWallet()
if(!walletModel)
return;
// Unlock wallet when requested by wallet model (if unlocked or unlocked for staking only)
if (walletModel->isWalletLocked(false))
if (walletModel->isWalletLocked())
return openPassPhraseDialog(AskPassphraseDialog::Mode::Unlock, AskPassphraseDialog::Context::Unlock_Full);
}

Expand Down Expand Up @@ -606,4 +606,4 @@ void TopBar::expandSync() {
progressBar->setFixedWidth(ui->pushButtonSync->width());
progressBar->setMinimumWidth(ui->pushButtonSync->width() - 2);
}
}
}

0 comments on commit bb830ce

Please sign in to comment.