Browse Source

Don't forget to clear I2P peer items

PR #18753.
adaptive-webui-19844
Vladimir Golovnev 2 years ago committed by GitHub
parent
commit
941c587c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/gui/properties/peerlistwidget.cpp

1
src/gui/properties/peerlistwidget.cpp

@ -393,6 +393,7 @@ void PeerListWidget::copySelectedPeers() @@ -393,6 +393,7 @@ void PeerListWidget::copySelectedPeers()
void PeerListWidget::clear()
{
m_peerItems.clear();
m_I2PPeerItems.clear();
m_itemsByIP.clear();
const int nbrows = m_listModel->rowCount();
if (nbrows > 0)

Loading…
Cancel
Save