diff options
| author | Philip Kaufmann <[email protected]> | 2015-06-06 10:38:15 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2015-06-11 08:39:08 +0200 |
| commit | e0597268116cf90d961abeba9d14aaad0ab682d2 (patch) | |
| tree | ef2321c125402ea60b62f9f1af3386a041179b0e /src/qt/rpcconsole.h | |
| parent | [Qt] replace Boost foreach with Qt version peertablemodel.cpp (diff) | |
| download | discoin-e0597268116cf90d961abeba9d14aaad0ab682d2.tar.xz discoin-e0597268116cf90d961abeba9d14aaad0ab682d2.zip | |
[Qt] deselect peer when switching away from peers tab in RPC console
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 767e9aaee..a309df7ba 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -76,7 +76,7 @@ public slots: void peerSelected(const QItemSelection &selected, const QItemSelection &deselected); /** Handle updated peer information */ void peerLayoutChanged(); - /** Disconnect a selected node on the Peers tab */ + /** Disconnect a selected node on the Peers tab */ void disconnectSelectedNode(); signals: @@ -90,6 +90,8 @@ private: void setTrafficGraphRange(int mins); /** show detailed information on ui about selected node */ void updateNodeDetail(const CNodeCombinedStats *stats); + /** clear the selected node */ + void clearSelectedNode(); enum ColumnWidths { |