Update ban-state in case of dirty-state during periodic sweep

This commit is contained in:
Jonas Schnelli committed 2017-11-09 09:04:40 -10:00
1 parent 8335cb4781
commit c8538123a7
1 file changed
+5
+5
View File
@@ -612,6 +612,11 @@ void CConnman::SweepBanned()
else else
++it; ++it;
} }
// update UI
if(setBannedIsDirty && clientInterface) {
clientInterface->BannedListChanged();
}
} }
bool CConnman::BannedSetIsDirty() bool CConnman::BannedSetIsDirty()