]> granicus.if.org Git - handbrake/commitdiff
WinGui: Change the behaviour of the destination source alert to revert to the last...
authorsr55 <sr55.hb@outlook.com>
Thu, 7 Feb 2019 16:51:51 +0000 (16:51 +0000)
committersr55 <sr55.hb@outlook.com>
Thu, 7 Feb 2019 16:52:09 +0000 (16:52 +0000)
win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs

index 22a129a69a952387383effa79f2f20aa66323c33..de7070d3d96283e639fb5ae865d9cd7a35174e05 100644 (file)
@@ -585,7 +585,7 @@ namespace HandBrakeWPF.ViewModels
 \r
                             if (value == this.ScannedSource.ScanPath)\r
                             {\r
-                                this.Destination = null;\r
+                                this.Destination = this.CurrentTask.Destination;\r
                                 this.errorService.ShowMessageBox(Resources.Main_SourceDestinationMatchError, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
                                 return;\r
                             }\r