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: ![screenshot from 2019-01-09 22-01-36](https://user-images.githubusercontent.com/32963518/50927352-2e6fb700-1460-11e9-9173-582348210492.png) ![screenshot from 2019-01-09 22-02-11](https://user-images.githubusercontent.com/32963518/50927354-329bd480-1460-11e9-9926-d0eb0f026a35.png) ![screenshot from 2019-01-09 22-02-37](https://user-images.githubusercontent.com/32963518/50927358-3596c500-1460-11e9-864d-c8704451f3d9.png) Tree-SHA512: 3d086007f6d72930bc2fc3c395175adda0f1a7722de3842bc246ee4f3bfc5ebda4b9a626fb68a7ee8663a88d0842deb37c0c460ad84cc58e22f138acf8bc71ea
This commit is contained in:
commit
acec9e45c6
2 changed files with 587 additions and 565 deletions
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 a new issue