aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/packet_panes.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/packet_panes.c')
-rw-r--r--ui/gtk/packet_panes.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/gtk/packet_panes.c b/ui/gtk/packet_panes.c
index fcc9bb2978..61e97988ed 100644
--- a/ui/gtk/packet_panes.c
+++ b/ui/gtk/packet_panes.c
@@ -222,9 +222,7 @@ check_expand_trees(GtkTreeView *tree_view, GtkTreeModel *model, GtkTreePath *pat
gtk_tree_path_down(path);
check_expand_trees(tree_view, model, path, &child, scroll_it, TRUE);
gtk_tree_path_up(path);
-
- } else
- gtk_tree_view_collapse_row(tree_view, path);
+ }
}
gtk_tree_path_next(path);