Fix packet list getting broken on refresh if sorting is enabled

This commit is contained in:
Stanislav Mykhailenko 2024-09-16 17:59:17 +03:00
parent 118a1eb787
commit 2a8eb59a30
GPG key ID: 1E95E66A9C9D6A36

View file

@ -44,6 +44,7 @@ void PacketAnalyzer::changeInterface(QString)
void PacketAnalyzer::clear()
{
ui->t_packets->setRowCount(0);
ui->t_packets->sortItems(0);
ui->e_selected->clear();
}