summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
+ }
}
}