diff options
author | Andrew Chow <achow101@gmail.com> | 2016-11-08 10:41:23 -0500 |
---|---|---|
committer | Andrew Chow <achow101@gmail.com> | 2016-11-08 15:11:25 -0500 |
commit | 1077577546334bc26daa3ab8580f24063a0b67c6 (patch) | |
tree | ef167f41b3c421895d1226ed3d9220772ad63a6e /src/qt/rpcconsole.h | |
parent | addfdebe1a2ec45f718638f39a9ae3afb531805f (diff) |
Fix auto-deselection of peers
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r-- | src/qt/rpcconsole.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 50224a1cc0..8e1d878ae5 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -98,6 +98,8 @@ public Q_SLOTS: void scrollToEnd(); /** Handle selection of peer in peers list */ void peerSelected(const QItemSelection &selected, const QItemSelection &deselected); + /** Handle selection caching before update */ + void peerLayoutAboutToChange(); /** Handle updated peer information */ void peerLayoutChanged(); /** Disconnect a selected node on the Peers tab */ @@ -135,7 +137,7 @@ private: ClientModel *clientModel; QStringList history; int historyPtr; - NodeId cachedNodeid; + QList<NodeId> cachedNodeids; const PlatformStyle *platformStyle; RPCTimerInterface *rpcTimerInterface; QMenu *peersTableContextMenu; |