From bc05e98fcd4391293231ea31f48805d10d2e3d87 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 30 Jan 2019 18:56:35 +0000 Subject: [PATCH] WinGui: Remove inline Destination check. It's more annoying than useful. Fixes #1857 --- win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 7 ------- 1 file changed, 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. -- 2.40.0