diff options
author | RichardHitt <rbh00@netcom.com> | 2013-05-01 12:47:53 -0700 |
---|---|---|
committer | RichardHitt <rbh00@netcom.com> | 2013-05-01 12:47:53 -0700 |
commit | e3fd5010570eb7082f2108de21a4f094cf64ac5f (patch) | |
tree | e4d0f5e5979d7af9c26fc481db12a3c3f9ef3ce1 | |
parent | 7403dfa9aa9d31988ed671342dd7c500d67b3e40 (diff) |
Do save_config() on Channel List window min, max changes
#570
-rw-r--r-- | src/fe-gtk/chanlist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/chanlist.c b/src/fe-gtk/chanlist.c index 47b9f1db..00c55b5f 100644 --- a/src/fe-gtk/chanlist.c +++ b/src/fe-gtk/chanlist.c @@ -532,6 +532,7 @@ chanlist_minusers (GtkSpinButton *wid, server *serv) { serv->gui->chanlist_minusers = gtk_spin_button_get_value_as_int (wid); prefs.hex_gui_chanlist_minusers = serv->gui->chanlist_minusers; + save_config(); if (serv->gui->chanlist_minusers < serv->gui->chanlist_minusers_downloaded) { @@ -553,6 +554,7 @@ chanlist_maxusers (GtkSpinButton *wid, server *serv) { serv->gui->chanlist_maxusers = gtk_spin_button_get_value_as_int (wid); prefs.hex_gui_chanlist_maxusers = serv->gui->chanlist_maxusers; + save_config(); } static void @@ -725,6 +727,7 @@ chanlist_opengui (server *serv, int do_refresh) if (prefs.hex_gui_chanlist_minusers < 1 || prefs.hex_gui_chanlist_minusers > 999999) { prefs.hex_gui_chanlist_minusers = 5; + save_config(); } serv->gui->chanlist_minusers = prefs.hex_gui_chanlist_minusers; @@ -735,6 +738,7 @@ chanlist_opengui (server *serv, int do_refresh) if (prefs.hex_gui_chanlist_maxusers < 1 || prefs.hex_gui_chanlist_maxusers > 999999) { prefs.hex_gui_chanlist_maxusers = 9999; + save_config(); } serv->gui->chanlist_maxusers = prefs.hex_gui_chanlist_maxusers; |