]> granicus.if.org Git - handbrake/commitdiff
WinGui: Remove inline Destination check. It's more annoying than useful. Fixes #1857
authorsr55 <sr55.hb@outlook.com>
Wed, 30 Jan 2019 18:56:35 +0000 (18:56 +0000)
committersr55 <sr55.hb@outlook.com>
Wed, 30 Jan 2019 18:56:55 +0000 (18:56 +0000)
win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs

index 3d2130edbc68ca127bce0910812cf51a684380ed..22a129a69a952387383effa79f2f20aa66323c33 100644 (file)
@@ -1767,13 +1767,6 @@ namespace HandBrakeWPF.ViewModels
             {\r
                 this.SetMru(Constants.FileSaveMru, Path.GetDirectoryName(saveFileDialog.FileName));\r
 \r
-                if (saveFileDialog.FileName == this.ScannedSource.ScanPath)\r
-                {\r
-                    this.errorService.ShowMessageBox(Resources.Main_SourceDestinationMatchError, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
-                    this.Destination = null;\r
-                    return;\r
-                }\r
-\r
                 this.Destination = saveFileDialog.FileName;\r
 \r
                 // Set the Extension Dropdown. This will also set Mp4/m4v correctly.\r