diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-01-11 06:36:14 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-01-11 06:36:14 +0000 |
commit | 1f42c23012ec38eae34288de50f7c8b77bae2d76 (patch) | |
tree | 3f260733ddae7a6de14e10ec3210872f5f477ca8 /file.c | |
parent | 983f496f6944f27301f08017a89264077b9fcb7d (diff) | |
download | wireshark-1f42c23012ec38eae34288de50f7c8b77bae2d76.tar.gz |
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.
svn path=/trunk/; revision=20389
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; } } } |