aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk-gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index cd9f7579a..a8372af83 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -980,7 +980,9 @@ static void autogroup_cb(GtkWidget *w, gpointer data)
autogroup = !autogroup;
if (! autogroup)
remove_autogen_trips();
+ remember_tree_state();
dive_list_update_dives();
+ restore_tree_state();
}
void set_autogroup(gboolean value)