aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/qt/byte_view_tab.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/byte_view_tab.cpp b/ui/qt/byte_view_tab.cpp
index b8d12bbe33..5fea573bed 100644
--- a/ui/qt/byte_view_tab.cpp
+++ b/ui/qt/byte_view_tab.cpp
@@ -83,6 +83,8 @@ void ByteViewTab::packetSelectionChanged()
if ( ! cap_file_ || ! cap_file_->edt )
return;
+ clear();
+
GSList *src_le;
for (src_le = cap_file_->edt->pi.data_src; src_le != NULL; src_le = src_le->next) {
struct data_source *source;