From 13fb49f762840ebecdcd06e37b4ceed7154d56d8 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 15 Jan 2017 18:13:52 +0000 Subject: WinGui: Remove extension check as it can cause an erroneous error when setting the filename manually. --- win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs') diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 3454a5cbb..a263e0e52 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -709,7 +709,7 @@ namespace HandBrakeWPF.ViewModels try { ext = Path.GetExtension(value); - if (FileHelper.FilePathHasInvalidChars(value) || string.IsNullOrEmpty(ext)) + if (FileHelper.FilePathHasInvalidChars(value)) { this.errorService.ShowMessageBox(Resources.Main_InvalidDestination, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error); return; -- cgit v1.2.3