summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <sr55.hb@outlook.com>2019-01-30 18:56:35 +0000
committersr55 <sr55.hb@outlook.com>2019-01-30 18:56:55 +0000
commitbc05e98fcd4391293231ea31f48805d10d2e3d87 (patch)
treea91c052a586a6fdf2fa41dba235bc7b3b314514f
parentbaa1c20502544db435c555bff3b2559f4ba13ea7 (diff)
WinGui: Remove inline Destination check. It's more annoying than useful. Fixes #1857
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
index 3d2130edb..22a129a69 100644
--- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
@@ -1767,13 +1767,6 @@ namespace HandBrakeWPF.ViewModels
{
this.SetMru(Constants.FileSaveMru, Path.GetDirectoryName(saveFileDialog.FileName));
- if (saveFileDialog.FileName == this.ScannedSource.ScanPath)
- {
- this.errorService.ShowMessageBox(Resources.Main_SourceDestinationMatchError, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);
- this.Destination = null;
- return;
- }
-
this.Destination = saveFileDialog.FileName;
// Set the Extension Dropdown. This will also set Mp4/m4v correctly.