Skip to content

Commit

Permalink
Do not deselect peer when switching away from tab
Browse files Browse the repository at this point in the history
Effectevely reverts e059726 commit.
  • Loading branch information
hebasto committed Jan 9, 2019
1 parent b0037c5 commit 3537c83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/qt/rpcconsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3537c83

Please sign in to comment.