From 2a8eb59a304ab62205d543a03e42211e04ad2b22 Mon Sep 17 00:00:00 2001 From: Stanislav Mykhailenko Date: Mon, 16 Sep 2024 17:59:17 +0300 Subject: [PATCH] Fix packet list getting broken on refresh if sorting is enabled --- packetanalyzer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/packetanalyzer.cpp b/packetanalyzer.cpp index 3edd592..84afa15 100644 --- a/packetanalyzer.cpp +++ b/packetanalyzer.cpp @@ -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(); }