From Cal Turney via bug #5585: When searching in packet bytes, the field and
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 19 Jan 2011 17:58:53 +0000 (17:58 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 19 Jan 2011 17:58:53 +0000 (17:58 +0000)
bytes are not immediately shown.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35583 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/main_proto_draw.c

index edd2c097ad411ea589bd587bacd74e45b31f36f8..2a0ebc827e77f2fc9bf6c92e3ee1959a5b1dfd40 100644 (file)
@@ -572,6 +572,9 @@ highlight_field(tvbuff_t *tvb, gint byte, GtkTreeView *tree_view,
         gtk_tree_path_free(path);
     }
 
+    /* Refresh the display so that the expanded trees are visible */
+    main_proto_tree_draw(tree);
+
     /* select our field's row */
     gtk_tree_selection_select_path(gtk_tree_view_get_selection(tree_view),
                                    first_path);