mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-12 05:34:57 +01:00
[Qt] simplify ban list signal handling
- remove banListChanged signal from client model - directly call clientModel->getBanTableModel()->refresh() without the way over clientModel->updateBanlist() - also fix clearing peer detail window, when selecting (clicking) peers in the ban list
This commit is contained in:
committed by
Jonas Schnelli
parent
43c1f5b8d7
commit
cdd72cd5fb
@@ -217,7 +217,6 @@ QString ClientModel::formatClientStartupTime() const
|
||||
void ClientModel::updateBanlist()
|
||||
{
|
||||
banTableModel->refresh();
|
||||
emit banListChanged();
|
||||
}
|
||||
|
||||
// Handlers for core signals
|
||||
|
||||
Reference in New Issue
Block a user