diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-01-09 22:30:25 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-01-09 22:30:25 +0200 |
commit | 3537c8345c788a527bb4e1d00683ca7f8ee5fb1a (patch) | |
tree | b707490ccf9206e2a61e4d88599a2baa83fb3be5 /src/qt/rpcconsole.cpp | |
parent | b0037c51909dc55e279baa81f063c169c9735105 (diff) |
Do not deselect peer when switching away from tab
Effectevely reverts e0597268116cf90d961abeba9d14aaad0ab682d2 commit.
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r-- | src/qt/rpcconsole.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index d062ea49bd..bd8f8f3e76 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -988,10 +988,9 @@ void RPCConsole::startExecutor() void RPCConsole::on_tabWidget_currentChanged(int index) { - if (ui->tabWidget->widget(index) == ui->tab_console) + if (ui->tabWidget->widget(index) == ui->tab_console) { ui->lineEdit->setFocus(); - else if (ui->tabWidget->widget(index) != ui->tab_peers) - clearSelectedNode(); + } } void RPCConsole::on_openDebugLogfileButton_clicked() |