mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 13:02:38 +02:00
Merge #15136: qt: "Peers" tab overhaul
3537c8345c
Do not deselect peer when switching away from tab (Hennadii Stepanov)b0037c5190
Improve Peers tab layout (Hennadii Stepanov) Pull request description: This is an alternative to #14798. The "Peers" tab of the "Debug" window improved to address comments https://github.com/bitcoin/bitcoin/pull/6209#issuecomment-108072605 (by @jonasschnelli) and https://github.com/bitcoin/bitcoin/pull/14798#issuecomment-441618268 (by @promag). This allows to keep the peer selection while navigating to other places and effectively revertse059726811
. Screenshots with this PR:    Tree-SHA512: 3d086007f6d72930bc2fc3c395175adda0f1a7722de3842bc246ee4f3bfc5ebda4b9a626fb68a7ee8663a88d0842deb37c0c460ad84cc58e22f138acf8bc71ea
This commit is contained in:
commit
acec9e45c6
File diff suppressed because it is too large
Load Diff
@ -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…
Reference in New Issue
Block a user