forked from osmocom/wireshark
In new_packet_list_select_cb() remove the check if the packet is reselected as the row number may be the same in a filtered
list as in the previous unfiltered list. svn path=/trunk/; revision=30910
This commit is contained in:
parent
0ead6b73ff
commit
989dcf58d1
|
@ -584,9 +584,13 @@ new_packet_list_select_cb(GtkTreeView *tree_view, gpointer data _U_)
|
||||||
|
|
||||||
row = row_number_from_iter(&iter);
|
row = row_number_from_iter(&iter);
|
||||||
|
|
||||||
/* Check if already selected */
|
/* Check if already selected
|
||||||
if (cfile.current_frame && cfile.current_row == row)
|
* XXX This does not work as before filtering selected row can be 1
|
||||||
return;
|
* but the filtered list will start on row 1 as well cusing the
|
||||||
|
* bytes pane not to be updated.
|
||||||
|
*/
|
||||||
|
/*if (cfile.current_frame && cfile.current_row == row)
|
||||||
|
return;*/
|
||||||
|
|
||||||
/* Remove the hex display tab pages */
|
/* Remove the hex display tab pages */
|
||||||
while(gtk_notebook_get_nth_page(GTK_NOTEBOOK(byte_nb_ptr), 0))
|
while(gtk_notebook_get_nth_page(GTK_NOTEBOOK(byte_nb_ptr), 0))
|
||||||
|
|
Loading…
Reference in New Issue