aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2017-10-31 15:40:50 +0100
committerRoland Knall <rknall@gmail.com>2017-10-31 14:45:21 +0000
commit649c81b83c295ef96460554e8e02c091bd6ae815 (patch)
tree70b853d31d6f7bbea118939e44023887b73f3000
parent56a130a152db73ea37f91d39be7d72f814013236 (diff)
Qt: ByteViewTab Fix tabs creation
Fix creation of tabs Change-Id: I11b22a3964f7c25c0c88b8ecd4eec1ad480fe800 Reviewed-on: https://code.wireshark.org/review/24202 Reviewed-by: Roland Knall <rknall@gmail.com>
-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;