diff options
author | sr55 <[email protected]> | 2013-05-25 12:09:50 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-05-25 12:09:50 +0000 |
commit | 3c4dcbe57e88d64eb9ff4e1186f7daf5793e02f2 (patch) | |
tree | bdbd8e55a88dde6171473d5bc51e46696dd5fad2 /win/CS/HandBrakeWPF/ViewModels | |
parent | 0a535389348c04fb8f2ccae1fcf37215d2072f80 (diff) |
WinGui: End Point can not be greater than Start and vice versa for the chapters dropdowns.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5511 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index f3945fb7a..02a2e88eb 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -760,6 +760,11 @@ namespace HandBrakeWPF.ViewModels this.Destination = AutoNameHelper.AutoName(this.CurrentTask, this.SourceName);
}
}
+
+ if (this.SelectedStartPoint > this.SelectedEndPoint)
+ {
+ this.SelectedEndPoint = this.SelectedStartPoint;
+ }
}
}
@@ -783,6 +788,11 @@ namespace HandBrakeWPF.ViewModels {
this.Destination = AutoNameHelper.AutoName(this.CurrentTask, this.SourceName);
}
+
+ if (this.SelectedStartPoint > this.SelectedEndPoint)
+ {
+ this.SelectedStartPoint = this.SelectedEndPoint;
+ }
}
}
|