aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-11-12 20:46:31 +0100
committerStig Bjørlykke <stig@bjorlykke.org>2017-11-12 19:47:12 +0000
commit3105382bed06a17f993421e2889e66189f2551ca (patch)
tree9ce9abd44eb9b378d3939b1c9ab34cace918d450
parentb5a1145cf15b51dc6d6a5614c5304cbe74cbf556 (diff)
Qt: Show ByteView for first packet
Change-Id: Ie5b09f0ac8db0adb999633f3367339b8f50eabe9 Reviewed-on: https://code.wireshark.org/review/24395 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
-rw-r--r--ui/qt/byte_view_tab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/byte_view_tab.cpp b/ui/qt/byte_view_tab.cpp
index 699f6f3..cff7d1a 100644
--- a/ui/qt/byte_view_tab.cpp
+++ b/ui/qt/byte_view_tab.cpp
@@ -208,7 +208,7 @@ void ByteViewTab::selectedFrameChanged(int frameNum)
clear();
qDeleteAll(findChildren<ByteViewText *>());
- if ( frameNum > 0 )
+ if ( frameNum >= 0 )
{
if ( ! cap_file_ || ! cap_file_->edt )
return;