aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-06-11 11:50:05 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-06-11 11:50:05 +0000
commit3f281d12807a5be55bff3e5b973134f01945d9ab (patch)
treea0789b22d9daec78942b2897d35806534d113228 /file.c
parent9b6fc0d05072cf5f60ca0b6720b5322e799255ac (diff)
Optimized criteria for invalidate packet in row 0.
svn path=/trunk/; revision=28698
Diffstat (limited to 'file.c')
-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;
}