From: gg Date: Mon, 19 Jan 2026 16:32:47 +0000 (-0500) Subject: fix crash when closing a wallet as another opens X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=2c0b8363666d83ed09546bdf6cdd83e7de7eb317;p=gamesguru%2Ffeather.git fix crash when closing a wallet as another opens --- diff --git a/src/model/WalletKeysFilesModel.cpp b/src/model/WalletKeysFilesModel.cpp index 72ea124b..f0d0422f 100644 --- a/src/model/WalletKeysFilesModel.cpp +++ b/src/model/WalletKeysFilesModel.cpp @@ -47,7 +47,7 @@ void WalletKeysFilesModel::clear() { void WalletKeysFilesModel::refresh() { this->clear(); this->findWallets(); - endResetModel(); + } void WalletKeysFilesModel::updateDirectories() { diff --git a/src/utils/nodes.cpp b/src/utils/nodes.cpp index 5ca8616b..4f33b4e7 100644 --- a/src/utils/nodes.cpp +++ b/src/utils/nodes.cpp @@ -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); }); }