summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2019-02-07 16:51:51 +0000
committersr55 <[email protected]>2019-02-07 16:52:09 +0000
commit618ee9eb98daba5d4f64cf26c04b6429d16faf97 (patch)
tree645102f83503e25cf44f695938d056b8d024646c /win/CS
parenta8ef28a582283d34fda6dd81f4be60f810e0865d (diff)
WinGui: Change the behaviour of the destination source alert to revert to the last change before the user triggered the alert.
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs2
1 files changed, 1 insertions, 1 deletions
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;
}