summaryrefslogtreecommitdiff
path: root/src/math-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math-window.c')
-rw-r--r--src/math-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/math-window.c b/src/math-window.c
index 4692ec8..164a457 100644
--- a/src/math-window.c
+++ b/src/math-window.c
@@ -14,6 +14,7 @@
#include <gdk/gdkkeysyms.h>
#include "math-window.h"
+#include "utility.h"
enum {
PROP_0,
@@ -295,6 +296,7 @@ static void button_mode_changed_cb(MathButtons *buttons, GParamSpec *spec, MathW
}
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu), TRUE);
+ g_settings_set_enum(g_settings_var, "button-mode", math_buttons_get_mode(buttons));
}
static GtkWidget *add_menu(GtkWidget *menu_bar, const gchar *name)