]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
WalletManager: fix error when cache is missing
authortobtoht <thotbot@protonmail.com>
Wed, 7 Jul 2021 02:29:42 +0000 (04:29 +0200)
committertobtoht <thotbot@protonmail.com>
Wed, 7 Jul 2021 02:29:42 +0000 (04:29 +0200)
src/WindowManager.cpp

index 21fee866fcaf9c40247ca03eb1eb48790ee65a18..8ca729e1e77ca6ed13169bb89ebc5ef64c782768 100644 (file)
@@ -148,7 +148,7 @@ void WindowManager::onWalletOpened(Wallet *wallet) {
             // Don't show incorrect password when we try with empty password for the first time
             bool showIncorrectPassword = m_openWalletTriedOnce;
             m_openWalletTriedOnce = true;
-            this->onWalletOpenPasswordRequired(showIncorrectPassword, wallet->cachePath());
+            this->onWalletOpenPasswordRequired(showIncorrectPassword, wallet->keysPath());
         }
         else if (errMsg == QString("basic_string::_M_replace_aux") || errMsg == QString("std::bad_alloc")) {
             qCritical() << errMsg;