Update ban-state in case of dirty-state during periodic sweep
This commit is contained in:
parent
8335cb4781
commit
c8538123a7
1 changed files with 5 additions and 0 deletions
|
@ -612,6 +612,11 @@ void CConnman::SweepBanned()
|
|||
else
|
||||
++it;
|
||||
}
|
||||
|
||||
// update UI
|
||||
if(setBannedIsDirty && clientInterface) {
|
||||
clientInterface->BannedListChanged();
|
||||
}
|
||||
}
|
||||
|
||||
bool CConnman::BannedSetIsDirty()
|
||||
|
|
Loading…
Reference in a new issue