summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-05-25 12:09:50 +0000
committersr55 <[email protected]>2013-05-25 12:09:50 +0000
commit3c4dcbe57e88d64eb9ff4e1186f7daf5793e02f2 (patch)
treebdbd8e55a88dde6171473d5bc51e46696dd5fad2 /win/CS
parent0a535389348c04fb8f2ccae1fcf37215d2072f80 (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')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs10
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;
+ }
}
}