From 618ee9eb98daba5d4f64cf26c04b6429d16faf97 Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 7 Feb 2019 16:51:51 +0000 Subject: [PATCH] WinGui: Change the behaviour of the destination source alert to revert to the last change before the user triggered the alert. --- win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 22a129a69..de7070d3d 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -585,7 +585,7 @@ namespace HandBrakeWPF.ViewModels if (value == this.ScannedSource.ScanPath) { - this.Destination = null; + this.Destination = this.CurrentTask.Destination; this.errorService.ShowMessageBox(Resources.Main_SourceDestinationMatchError, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error); return; } -- 2.40.0