]> granicus.if.org Git - handbrake/commitdiff
WinGui: Remove extension check as it can cause an erroneous error when setting the...
authorsr55 <sr55.hb@outlook.com>
Sun, 15 Jan 2017 18:13:52 +0000 (18:13 +0000)
committersr55 <sr55.hb@outlook.com>
Sun, 15 Jan 2017 18:14:12 +0000 (18:14 +0000)
win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs

index 3454a5cbbe4492d0cc0bb55b4ecc42f8328f4f42..a263e0e52fd14294c4d984c8fd78f878fe37ace0 100644 (file)
@@ -709,7 +709,7 @@ namespace HandBrakeWPF.ViewModels
                         try\r
                         {\r
                             ext = Path.GetExtension(value);\r
-                            if (FileHelper.FilePathHasInvalidChars(value) || string.IsNullOrEmpty(ext))\r
+                            if (FileHelper.FilePathHasInvalidChars(value))\r
                             {\r
                                 this.errorService.ShowMessageBox(Resources.Main_InvalidDestination, Resources.Error, MessageBoxButton.OK, MessageBoxImage.Error);\r
                                 return;\r