]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
fix crash when closing a wallet as another opens
authorgg <chown_tee@proton.me>
Mon, 19 Jan 2026 16:32:47 +0000 (11:32 -0500)
committergg <chown_tee@proton.me>
Mon, 19 Jan 2026 16:32:47 +0000 (11:32 -0500)
src/model/WalletKeysFilesModel.cpp
src/utils/nodes.cpp

index 72ea124bc0554e7d1dafd4d9ae74ed1345458dd1..f0d0422f494c87f75902e8f14002b5d6c3015827 100644 (file)
@@ -47,7 +47,7 @@ void WalletKeysFilesModel::clear() {
 void WalletKeysFilesModel::refresh() {
     this->clear();
     this->findWallets();
-    endResetModel();
+
 }
 
 void WalletKeysFilesModel::updateDirectories() {
index 5ca8616b3d94562d2e0cce2f037a57b020b79632..4f33b4e72de09b6483e273d6091afdaf266426f0 100644 (file)
@@ -659,7 +659,7 @@ void Nodes::onConnectionStatusChanged(int status) {
             qInfo() << "Nodes: Wallet disconnected unexpectedly, triggering auto-connect to new node.";
             // Fix J: Mark connection as inactive so autoConnect treats it as a failure, not a transient disconnect
             m_connection.isActive = false;
-            QTimer::singleShot(1000, [this]{
+            QTimer::singleShot(1000, this, [this]{
                 this->autoConnect(false);
             });
         }