summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-11-11 11:11:52 -0800
committerJohn Stebbins <[email protected]>2016-11-11 11:11:52 -0800
commit756fd60813d2aa75ca07c7bdeb08cf54ec4fb06f (patch)
treefb91104d9084454cb14681503e8b771875cab640 /gtk/src
parentd3a87d0633acb48bdd6a4b7709678459068332c1 (diff)
LinGui: fix setting default preset
The old default was not getting scrubbed
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/presets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c
index 256c7ef12..019b55774 100644
--- a/gtk/src/presets.c
+++ b/gtk/src/presets.c
@@ -2518,6 +2518,7 @@ presets_default_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud)
if (dict != NULL && !ghb_dict_get_bool(dict, "Folder"))
{
ghb_presets_list_clear_default(ud);
+ hb_presets_clear_default();
ghb_dict_set_bool(dict, "Default", 1);
ghb_presets_list_show_default(ud);
store_presets();