From: sr55 <sr55.hb@outlook.com>
Date: Sun, 26 May 2013 11:56:37 +0000 (+0000)
Subject: WinGui: Disable End point affecting the start point for anything other than chapters.
X-Git-Tag: 0.9.9.1~11
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab11d3012d39eaa0991edbd069c602241d63905c;p=handbrake

WinGui: Disable End point affecting the start point for anything other than chapters.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5516 b64f7644-9d1e-0410-96f1-a4d463321fa5
---

diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index fd2585337..54911cd81 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -789,7 +789,7 @@ namespace HandBrakeWPF.ViewModels
                     this.Destination = AutoNameHelper.AutoName(this.CurrentTask, this.SourceName);
                 }
 
-                if (this.SelectedStartPoint > this.SelectedEndPoint)
+                if (this.SelectedStartPoint > this.SelectedEndPoint && this.SelectedPointToPoint == PointToPointMode.Chapters)
                 {
                     this.SelectedStartPoint = this.SelectedEndPoint;
                 }