diff options
author | sr55 <[email protected]> | 2015-08-25 13:18:35 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-08-25 13:18:35 +0000 |
commit | ff73c0ecf1e69b80fe1b10132ebc0c4957a5f03d (patch) | |
tree | 04e77ba263d4101eee8bac8733fb920b6326f651 /win/CS/HandBrakeWPF/Model/Subtitles | |
parent | d078868681a1892e1e67050ebafa1066efc45f73 (diff) |
WinGui: Fix another instance of the Caliburn vs Json.net sillyness where objects are not serialised correctly. This is causing presets not to save to disk correctly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7413 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Model/Subtitles')
-rw-r--r-- | win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviours.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviours.cs b/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviours.cs index db5b7eb39..e31ad2042 100644 --- a/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviours.cs +++ b/win/CS/HandBrakeWPF/Model/Subtitles/SubtitleBehaviours.cs @@ -12,7 +12,7 @@ namespace HandBrakeWPF.Model.Subtitles using System.ComponentModel;
using System.Linq;
- using Caliburn.Micro;
+ using HandBrake.ApplicationServices.Utilities;
/// <summary>
/// A class to track the behaviours of audio track selection
@@ -158,11 +158,11 @@ namespace HandBrakeWPF.Model.Subtitles {
SubtitleBehaviours cloned = new SubtitleBehaviours
{
- SelectedBehaviour = this.selectedBehaviour,
- SelectedBurnInBehaviour = this.selectedBurnInBehaviour,
- SelectedLangauges = new BindingList<string>(),
- AddClosedCaptions = this.addClosedCaptions,
- AddForeignAudioScanTrack = this.addForeignAudioScanTrack,
+ SelectedBehaviour = this.selectedBehaviour,
+ SelectedBurnInBehaviour = this.selectedBurnInBehaviour,
+ SelectedLangauges = new BindingList<string>(),
+ AddClosedCaptions = this.addClosedCaptions,
+ AddForeignAudioScanTrack = this.addForeignAudioScanTrack,
};
foreach (var item in this.SelectedLangauges)
|