Skip to content

Commit

Permalink
LinGui: handle legacy preferences file better
Browse files Browse the repository at this point in the history
"show_presets" key could cause the preset window to be shown at every
startup.
  • Loading branch information
jstebbins committed Jun 4, 2018
1 parent 7f882a0 commit 7e53831
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gtk/src/internal_defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"volume": "New Video"
},
"OneTimeInitialization": {
"title": "none"
"title": "none",
"show_presets": false
},
"Initialization": {
"AudioAllowMP3Pass": false,
Expand Down
1 change: 1 addition & 0 deletions gtk/src/presets.c
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,7 @@ ghb_prefs_load(signal_user_data_t *ud)
#endif
store_prefs();
}
ghb_dict_remove(dict, "show_presets");
}

void
Expand Down

0 comments on commit 7e53831

Please sign in to comment.