diff options
Diffstat (limited to 'ui/gtk/packet_list.c')
-rw-r--r-- | ui/gtk/packet_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/packet_list.c b/ui/gtk/packet_list.c index 4f382ac7be..1c5b364415 100644 --- a/ui/gtk/packet_list.c +++ b/ui/gtk/packet_list.c @@ -1239,7 +1239,7 @@ packet_list_select_cb(GtkTreeView *tree_view, gpointer data _U_) cf_select_packet(&cfile, row); /* If searching the tree, set the focus there; otherwise, focus on the packet list */ - if (cfile.search_in_progress && (cfile.decode_data || cfile.decode_data)) { + if (cfile.search_in_progress && cfile.decode_data) { gtk_widget_grab_focus(tree_view_gbl); } else { gtk_widget_grab_focus(packetlist->view); |