diff options
author | randymcmillan <randy.lee.mcmillan@gmail.com> | 2021-01-28 20:37:20 -0500 |
---|---|---|
committer | randymcmillan <randy.lee.mcmillan@gmail.com> | 2021-01-28 20:37:20 -0500 |
commit | 8353e8cecc3e34a8699b53849df0adab622c1c14 (patch) | |
tree | 96d1c36af0818baeeed15f18665b17b1886ec1d1 /src/qt | |
parent | 80e16cadd56ca73b94b01c5cd98a325fe9d89bf3 (diff) |
peers-tab: bug fix right panel toggle
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/forms/debugwindow.ui | 2 | ||||
-rw-r--r-- | src/qt/rpcconsole.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui index 3831852185..95eefd6e26 100644 --- a/src/qt/forms/debugwindow.ui +++ b/src/qt/forms/debugwindow.ui @@ -988,7 +988,7 @@ </item> </layout> </widget> - <widget class="QWidget" name="widget_2" native="true"> + <widget class="QWidget" name="peersTabRightPanel" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index a252685d2f..573a07e5fb 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -1097,7 +1097,7 @@ void RPCConsole::updateDetailWidget() { const QList<QModelIndex> selected_peers = GUIUtil::getEntryData(ui->peerWidget, PeerTableModel::NetNodeId); if (!clientModel || !clientModel->getPeerTableModel() || selected_peers.size() != 1) { - ui->detailWidget->hide(); + ui->peersTabRightPanel->hide(); ui->peerHeading->setText(tr("Select a peer to view detailed information.")); return; } @@ -1151,7 +1151,7 @@ void RPCConsole::updateDetailWidget() ui->peerHeight->setText(QString::number(stats->nodeStateStats.m_starting_height)); } - ui->detailWidget->show(); + ui->peersTabRightPanel->show(); } void RPCConsole::resizeEvent(QResizeEvent *event) |