mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
40d05ed768
commit
8185159566
1 changed files with 1 additions and 0 deletions
|
|
@ -471,6 +471,7 @@ static void name(GtkWidget *w, gpointer data) \
|
||||||
{ \
|
{ \
|
||||||
GtkWidget **entry = data; \
|
GtkWidget **entry = data; \
|
||||||
option = GTK_TOGGLE_BUTTON(w)->active; \
|
option = GTK_TOGGLE_BUTTON(w)->active; \
|
||||||
|
dive_list_update_dives(); \
|
||||||
if (entry) \
|
if (entry) \
|
||||||
gtk_widget_set_sensitive(*entry, option);\
|
gtk_widget_set_sensitive(*entry, option);\
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue