aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-02-22 09:57:06 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-06-07 17:37:40 +0300
commitecbd91153875c8cdd5b92b840afc116f65e457fb (patch)
treeb1d388631085d86928d58634b673a1ba0ff101ee /src/qt/peertablemodel.h
parent1b66f6e556631a1a2d89aefba70a79894bd14fcd (diff)
downloadbitcoin-ecbd91153875c8cdd5b92b840afc116f65e457fb.tar.xz
qt: Handle peer addition/removal in a right way
This change fixes a bug when a multiple rows selection gets inconsistent after a peer addition/removal.
Diffstat (limited to 'src/qt/peertablemodel.h')
-rw-r--r--src/qt/peertablemodel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/peertablemodel.h b/src/qt/peertablemodel.h
index 0d841ebf28..0ff1b5dba7 100644
--- a/src/qt/peertablemodel.h
+++ b/src/qt/peertablemodel.h
@@ -73,6 +73,9 @@ public:
public Q_SLOTS:
void refresh();
+Q_SIGNALS:
+ void changed();
+
private:
//! Internal peer data structure.
QList<CNodeCombinedStats> m_peers_data{};