mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-25 16:10:33 +02:00
Do not deselect peer when switching away from tab
Effectevely reverts e0597268116cf90d961abeba9d14aaad0ab682d2 commit.
This commit is contained in:
parent
b0037c5190
commit
3537c8345c
@ -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…
x
Reference in New Issue
Block a user