Do not deselect peer when switching away from tab

Effectevely reverts e059726811 commit.
This commit is contained in:
Hennadii Stepanov 2019-01-09 22:30:25 +02:00
parent b0037c5190
commit 3537c8345c
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -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()