Do not deselect peer when switching away from tab
Effectevely reverts e059726811
commit.
This commit is contained in:
parent
b0037c5190
commit
3537c8345c
1 changed files with 2 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue