diff options
author | sr55 <[email protected]> | 2017-01-15 18:13:52 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-01-15 18:13:52 +0000 |
commit | 13fb49f762840ebecdcd06e37b4ceed7154d56d8 (patch) | |
tree | 1d2cb34e1b0e2076186d597180460d8f849e6393 /win/CS | |
parent | 141e01f1336a8942da79a14391919320896f4d37 (diff) |
WinGui: Remove extension check as it can cause an erroneous error when setting the filename manually.
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|