]> Nutra Git (v2) - gamesguru/feather.git/commitdiff
Require password to open cache viewer
authortobtoht <thotbot@protonmail.com>
Fri, 4 Mar 2022 12:42:14 +0000 (13:42 +0100)
committertobtoht <thotbot@protonmail.com>
Fri, 4 Mar 2022 12:42:14 +0000 (13:42 +0100)
src/MainWindow.cpp

index d9c33f4054bd0452bd966cf89daa550eeeb0ff1a..ef7b9c5d9ed22207d66b7eb7d0852d5ac427e6b0 100644 (file)
@@ -1001,6 +1001,10 @@ void MainWindow::showDebugInfo() {
 }
 
 void MainWindow::showWalletCacheDebugDialog() {
+    if (!this->verifyPassword()) {
+        return;
+    }
+
     WalletCacheDebugDialog dialog{m_ctx, this};
     dialog.exec();
 }