summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-06-06 19:16:50 -0400
committerTingPing <tingping@tingping.se>2013-06-06 19:16:50 -0400
commit0e420fbee80ec3c6aa4f73915d832cf22b121e73 (patch)
tree44fef9d0b32083a1e372674a70470b6f46a6269f /src/fe-gtk
parentcf505b850bb02e7b691fbd5f48618d66fe55bc0a (diff)
Save chanopt after any changes
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/maingui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c
index f049d2a6..473b6c11 100644
--- a/src/fe-gtk/maingui.c
+++ b/src/fe-gtk/maingui.c
@@ -32,6 +32,7 @@
 #include "../common/url.h"
 #include "../common/util.h"
 #include "../common/text.h"
+#include "../common/chanopt.h"
 
 #include "fe-gtk.h"
 #include "banlist.h"
@@ -1537,6 +1538,9 @@ mg_set_guint8 (GtkCheckMenuItem *item, guint8 *setting)
 	/* has the logging setting changed? */
 	if (logging != sess->text_logging)
 		log_open_or_close (sess);
+
+	chanopt_save (sess);
+	chanopt_save_all ();
 }
 
 static void