summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-02-13 22:04:15 +0000
committersr55 <[email protected]>2019-02-13 22:04:15 +0000
commit49cabc478c21c52f5aaab6cd9b354224adc186d7 (patch)
treea6f7a1fc9f2abf4eca90d06a960373a112f5df77 /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
parente1e0e211759ce1413252b168d2d01479fed9f579 (diff)
WinGui: Temp fix for the build until we can refactor the queue error handling.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 2f0baa730..17e0b4951 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1384,7 +1384,7 @@ namespace HandBrakeWPF.ViewModels
// defer to subtitle's validation messages
if (!this.SubtitleViewModel.ValidateSubtitles())
{
- return false;
+ return new AddQueueError(Resources.Subtitles_WebmSubtitleIncompatibilityHeader, Resources.Main_PleaseFixSubtitleSettings, MessageBoxButton.OK, MessageBoxImage.Error);
}
QueueTask task = new QueueTask(new EncodeTask(this.CurrentTask), HBConfigurationFactory.Create(), this.ScannedSource.ScanPath, this.SelectedPreset);