aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 699f6f33b3..cff7d1a109 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;