aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 4a61e97cd3..1ed059c761 100644
--- a/file.c
+++ b/file.c
@@ -1801,7 +1801,7 @@ rescan_packets(capture_file *cf, const char *action, const char *action_item,
/* Either the frame that was selected passed the filter, or we've
found the nearest displayed frame to that frame. Select it, make
it the focus row, and make it visible. */
- if (selected_row == 0) {
+ if (redissect && selected_row == 0) {
/* Set to invalid to force update of packet list and packet details */
cf->current_row = -1;
}