diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-05 18:25:46 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-05 18:29:48 (EDT) |
commit | 26ee1f388f4af2f437362f2b2be78d038d0b86f6 (patch) | |
tree | caebf4525bd5ce4c413913bde58405c96511fbeb /src | |
parent | e052aba22bf02dd92653d8009b9aa97bb82e166b (diff) | |
download | marquee-26ee1f388f4af2f437362f2b2be78d038d0b86f6.zip marquee-26ee1f388f4af2f437362f2b2be78d038d0b86f6.tar.gz marquee-26ee1f388f4af2f437362f2b2be78d038d0b86f6.tar.bz2 |
about:preferences: Don't try to save "_tabs" form element
Diffstat (limited to 'src')
-rw-r--r-- | src/about/preferences.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/about/preferences.c b/src/about/preferences.c index 02188e2..6208322 100644 --- a/src/about/preferences.c +++ b/src/about/preferences.c @@ -31,7 +31,9 @@ static void save_pref(gchar *key, gchar *value, MqConfig *config) { - mq_config_set(config, key, value); + if (key[0] != '_') { + mq_config_set(config, key, value); + } } #define GEN_BOOL(NAME, LABEL) mq_html_input_checkbox(NAME, LABEL, \ |