]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
wallet: clear coin control on account switch
authortobtoht <tob@featherwallet.org>
Wed, 26 Mar 2025 04:20:48 +0000 (05:20 +0100)
committertobtoht <tob@featherwallet.org>
Wed, 26 Mar 2025 04:20:48 +0000 (05:20 +0100)
src/libwalletqt/Wallet.cpp

index 744518970234906fc412081fb8ae7a2f61121fbc..f71ade59fe77e4511abfa37efe29a761ac6235a3 100644 (file)
@@ -301,6 +301,7 @@ void Wallet::switchSubaddressAccount(quint32 accountIndex) {
         this->subaddressModel()->setCurrentSubaddressAccount(m_currentSubaddressAccount);
         this->coinsModel()->setCurrentSubaddressAccount(m_currentSubaddressAccount);
         this->updateBalance();
+        this->setSelectedInputs({});
         emit currentSubaddressAccountChanged();
     }
 }