summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-06-16 14:39:18 -0700
committerJohn Stebbins <[email protected]>2017-06-16 14:39:18 -0700
commit5d472d637f9987f8296e3b6b030c326199b932c8 (patch)
tree4b8efa675a1256d3b3dc1ffcda3d6280e627b22c /gtk
parent39328d7e0f7671754893db6218f8c63411025c03 (diff)
LinGui: fix exclusive burn behavior when FAS burn enabled
It was disabling burn for other non-FAS tracks. Not the behavior I wanted.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/subtitlehandler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/subtitlehandler.c b/gtk/src/subtitlehandler.c
index ca614b7d1..f833f86e3 100644
--- a/gtk/src/subtitlehandler.c
+++ b/gtk/src/subtitlehandler.c
@@ -758,7 +758,8 @@ subtitle_burned_toggled_cb(GtkWidget *widget, signal_user_data_t *ud)
subsettings = subtitle_get_selected_settings(ud, &index);
if (subsettings != NULL)
{
- if (ghb_dict_get_bool(subsettings, "Burn"))
+ if (ghb_dict_get_bool(subsettings, "Burn") &&
+ ghb_dict_get(subsettings, "Track") != NULL)
{
ghb_ui_update(ud, "SubtitleDefaultTrack", ghb_boolean_value(FALSE));
subtitle_exclusive_burn(ud, index);