Don't forget to clear I2P peer items

PR #18753.
This commit is contained in:
Vladimir Golovnev 2023-03-24 14:06:46 +03:00 committed by GitHub
parent 77bd09bb8b
commit 941c587c68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)