diff options
| author | Hennadii Stepanov <[email protected]> | 2019-01-09 22:30:25 +0200 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2019-01-09 22:30:25 +0200 |
| commit | 3537c8345c788a527bb4e1d00683ca7f8ee5fb1a (patch) | |
| tree | b707490ccf9206e2a61e4d88599a2baa83fb3be5 /src | |
| parent | Improve Peers tab layout (diff) | |
| download | discoin-3537c8345c788a527bb4e1d00683ca7f8ee5fb1a.tar.xz discoin-3537c8345c788a527bb4e1d00683ca7f8ee5fb1a.zip | |
Do not deselect peer when switching away from tab
Effectevely reverts e0597268116cf90d961abeba9d14aaad0ab682d2 commit.
Diffstat (limited to 'src')
| -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 d062ea49b..bd8f8f3e7 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() |