aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-11 06:36:14 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-11 06:36:14 +0000
commit9a7e67d712800beca0c570b11c742cde72a27d4a (patch)
tree3f260733ddae7a6de14e10ec3210872f5f477ca8 /file.c
parent004eab8e5fd3d8019d11be9ce92990873a7a787d (diff)
Fix for bug #1196: packet detail & packet bytes windows not updated under
certain circumstances when applying a display filter that does not include the currently selected packet. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20389 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/file.c b/file.c
index 987140248f..0f3f23e219 100644
--- a/file.c
+++ b/file.c
@@ -1603,6 +1603,10 @@ rescan_packets(capture_file *cf, const char *action, const char *action_item,
have to select the first displayed frame after the selected
frame. */
selected_row = following_row;
+ } else {
+ /* Frames before and after the selected frame passed the filter, so
+ we'll select the previous frame */
+ selected_row = preceding_row;
}
}
}