mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-27 17:49:37 +01:00
Do not deselect peer when switching away from tab
Effectevely reverts e059726811 commit.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user