From: tobtoht Date: Fri, 4 Mar 2022 12:42:14 +0000 (+0100) Subject: Require password to open cache viewer X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=4950d659f308e2ec8a1229d839fe22ecd0728052;p=gamesguru%2Ffeather.git Require password to open cache viewer --- diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index d9c33f40..ef7b9c5d 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -1001,6 +1001,10 @@ void MainWindow::showDebugInfo() { } void MainWindow::showWalletCacheDebugDialog() { + if (!this->verifyPassword()) { + return; + } + WalletCacheDebugDialog dialog{m_ctx, this}; dialog.exec(); }