diff options
author | jstebbins <[email protected]> | 2014-09-04 22:25:13 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-09-04 22:25:13 +0000 |
commit | 2df5f2410fb8ecd96b0ae048f3b539e885a34a83 (patch) | |
tree | 2b0ac4d603c49dd451cbdc86726295cf5f3e54c7 /gtk/src | |
parent | 9f37ecd0ee37e147e9d7ba0e812634ca964c3579 (diff) |
LinGui: fix preset save dialog width&height
Fields were not enabled.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6391 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/presets.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c index f39721129..01692a68a 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -3706,10 +3706,8 @@ presets_save_clicked_cb(GtkWidget *xwidget, signal_user_data_t *ud) int width = ghb_settings_get_int(ud->settings, "PictureWidth"); int height = ghb_settings_get_int(ud->settings, "PictureHeight"); gboolean autoscale = ghb_settings_get_boolean(ud->settings, "autoscale"); - ghb_ui_update(ud, "PictureWidthEnable", - ghb_boolean_value(width!=0&&!autoscale)); - ghb_ui_update(ud, "PictureHeightEnable", - ghb_boolean_value(height!=0&&!autoscale)); + ghb_ui_update(ud, "PictureWidthEnable", ghb_boolean_value(!autoscale)); + ghb_ui_update(ud, "PictureHeightEnable", ghb_boolean_value(!autoscale)); if (!width) { width = ghb_settings_get_int(ud->settings, "scale_width"); @@ -4350,5 +4348,6 @@ G_MODULE_EXPORT void preset_widget_changed_cb(GtkWidget *widget, signal_user_data_t *ud) { ghb_widget_to_setting(ud->settings, widget); + ghb_check_dependency(ud, widget, NULL); } |