diff options
author | sr55 <[email protected]> | 2012-01-14 18:46:17 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-01-14 18:46:17 +0000 |
commit | 01c8ab3532c0c30748fd3e7a0376e3f32928c72f (patch) | |
tree | 84778f7508a83d66ee229d142f5478f29a6d25a7 /win/CS/frmOptions.cs | |
parent | e5d16119f267eca2d9e294541aa6e9307c021d19 (diff) |
WinGui: Add an option to hide the Allowed Passthru checkboxes. (Hidden by default). Fixed an issue where the ScannedTrack was getting overwritten when switching between presets.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4407 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/frmOptions.cs')
-rw-r--r-- | win/CS/frmOptions.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/win/CS/frmOptions.cs b/win/CS/frmOptions.cs index 7e6c60683..399e2d594 100644 --- a/win/CS/frmOptions.cs +++ b/win/CS/frmOptions.cs @@ -175,6 +175,9 @@ namespace Handbrake check_AddCCTracks.Checked = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.UseClosedCaption);
+ check_advPassthruOpts.Checked =
+ this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowAdvancedAudioPassthruOpts);
+
// #############################
// CLI
// #############################
@@ -573,6 +576,11 @@ namespace Handbrake this.userSettingService.SetUserSetting(UserSettingConstants.DubModeSubtitle, cb_subtitleMode.SelectedIndex);
}
+ private void check_advPassthruOpts_CheckedChanged(object sender, EventArgs e)
+ {
+ this.userSettingService.SetUserSetting(UserSettingConstants.ShowAdvancedAudioPassthruOpts, check_advPassthruOpts.Checked);
+ }
+
#endregion
#region CLI
@@ -723,7 +731,5 @@ namespace Handbrake {
this.Close();
}
-
-
}
}
\ No newline at end of file |