]> granicus.if.org Git - handbrake/commitdiff
WinGui: Add combined option in the Chapter Import Open File Dialog. #1015
authorsr55 <sr55.hb@outlook.com>
Fri, 29 Dec 2017 19:51:35 +0000 (19:51 +0000)
committersr55 <sr55.hb@outlook.com>
Fri, 29 Dec 2017 19:51:49 +0000 (19:51 +0000)
win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs

index 92420fbe9f9937d80d7f5699a10d7e893195657a..023325c9b2b841547838fa93c9aa771763031aaa 100644 (file)
@@ -179,7 +179,7 @@ namespace HandBrakeWPF.ViewModels
             string fileExtension = null;\r
             using (var dialog = new OpenFileDialog()\r
                     {\r
-                        Filter = string.Join("|", ChapterImporterCsv.FileFilter, ChapterImporterXml.FileFilter, ChapterImporterTxt.FileFilter),\r
+                        Filter = string.Join("|", "All Supported Formats (*.csv;*.tsv,*.xml,*.txt)|*.csv;*.tsv;*.xml;*.txt", ChapterImporterCsv.FileFilter, ChapterImporterXml.FileFilter, ChapterImporterTxt.FileFilter),\r
                         FilterIndex = 1,  // 1 based, the index value of the first filter entry is 1\r
                         CheckFileExists = true\r
                     })\r