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
This commit is contained in:
parent
bc7cb2706e
commit
076349374b
4
file.c
4
file.c
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue