Skip to content

Commit

Permalink
Don't forget to clear I2P peer items
Browse files Browse the repository at this point in the history
PR #18753.
  • Loading branch information
glassez committed Mar 24, 2023
1 parent 77bd09b commit 941c587
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/properties/peerlistwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 941c587

Please sign in to comment.