diff options
author | Roland Knall <roland.knall@br-automation.com> | 2017-10-31 15:40:50 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2017-10-31 14:45:21 +0000 |
commit | 649c81b83c295ef96460554e8e02c091bd6ae815 (patch) | |
tree | 70b853d31d6f7bbea118939e44023887b73f3000 /ui | |
parent | 56a130a152db73ea37f91d39be7d72f814013236 (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>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/byte_view_tab.cpp | 2 |
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; |