diff --git a/src/newaccountmodel.cpp b/src/newaccountmodel.cpp index 9173cae68b9ec5869f5f18fe44480b6c5f6481eb..12cf254cde5404e188a8de4bbd8941d3c3198956 100644 --- a/src/newaccountmodel.cpp +++ b/src/newaccountmodel.cpp @@ -405,6 +405,10 @@ NewAccountModelPimpl::updateAccounts() void NewAccountModelPimpl::slotAccountStatusChanged(const std::string& accountID, const api::account::Status status) { + if (status == api::account::Status::INVALID) { + emit linked.invalidAccountDetected(accountID); + return; + } auto it = accounts.find(accountID); // If account is not in the map yet, don't add it, it is updateAccounts's job