summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-08 13:58:27 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-08 13:58:27 -0800
commit81851595669becd5bd1ef73cfc26570fa16554e0 (patch)
tree6da651a59031c27ce08ab19c30f713ba39da8a72
parent40d05ed768eca91ac06058a1419291939b4b2a06 (diff)
downloadsubsurface-81851595669becd5bd1ef73cfc26570fa16554e0.tar.gz
Make changes to some of the preference immediately visible
This is just a small part of the solution to the bigger problem with the preferences. See ticket 21 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--gtk-gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 7a4f108ad..9edf408b9 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -471,6 +471,7 @@ static void name(GtkWidget *w, gpointer data) \
{ \
GtkWidget **entry = data; \
option = GTK_TOGGLE_BUTTON(w)->active; \
+ dive_list_update_dives(); \
if (entry) \
gtk_widget_set_sensitive(*entry, option);\
}