Skip to content

Commit

Permalink
Fix #367
Browse files Browse the repository at this point in the history
  • Loading branch information
rebroad committed Jun 28, 2021
1 parent 8cdf917 commit f6a9c02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qt/peertablemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,5 +179,5 @@ void PeerTableModel::refresh()
m_peers_data.swap(new_peers_data);
}

Q_EMIT changed();
Q_EMIT layoutChanged();
}
2 changes: 1 addition & 1 deletion src/qt/rpcconsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ void RPCConsole::setClientModel(ClientModel *model, int bestblock_height, int64_

// peer table signal handling - update peer details when selecting new node
connect(ui->peerWidget->selectionModel(), &QItemSelectionModel::selectionChanged, this, &RPCConsole::updateDetailWidget);
connect(model->getPeerTableModel(), &PeerTableModel::changed, this, &RPCConsole::updateDetailWidget);
connect(model->getPeerTableModel(), &PeerTableModel::layoutChanged, this, &RPCConsole::updateDetailWidget);

// set up ban table
ui->banlistWidget->setModel(model->getBanTableModel());
Expand Down

0 comments on commit f6a9c02

Please sign in to comment.