diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-12-08 21:30:21 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-12-08 21:30:21 +0000 |
commit | 076349374b25ccab0d16d8c27bbddbe4152b8ceb (patch) | |
tree | 6a07ab3d4528c7ff9508393ea45e4bb9e5adce07 /file.c | |
parent | bc7cb2706e58dce9470ae1474ef5d94ed65b6b25 (diff) |
Invalidate cf->current_row when rescan packet and the new selected row 0
has changed, to force update of packet list and packet details.
This fixes bug 3099.
svn path=/trunk/; revision=26937
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1729,6 +1729,10 @@ rescan_packets(capture_file *cf, const char *action, const char *action_item, we'll select the previous frame */ selected_row = preceding_row; } + if (selected_row == 0) { + /* Set to invalid to force update of packet list and packet details */ + cf->current_row = -1; + } } } |