From: sr55 <sr55.hb@outlook.com>
Date: Fri, 29 Dec 2017 19:51:35 +0000 (+0000)
Subject: WinGui: Add combined option in the Chapter Import Open File Dialog. #1015
X-Git-Tag: 1.1.0~110
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3a811ae043ed5641d17c0fcf1ec79560746cc90;p=handbrake

WinGui: Add combined option in the Chapter Import Open File Dialog. #1015
---

diff --git a/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs
index 92420fbe9..023325c9b 100644
--- a/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs
@@ -179,7 +179,7 @@ namespace HandBrakeWPF.ViewModels
             string fileExtension = null;
             using (var dialog = new OpenFileDialog()
                     {
-                        Filter = string.Join("|", ChapterImporterCsv.FileFilter, ChapterImporterXml.FileFilter, ChapterImporterTxt.FileFilter),
+                        Filter = string.Join("|", "All Supported Formats (*.csv;*.tsv,*.xml,*.txt)|*.csv;*.tsv;*.xml;*.txt", ChapterImporterCsv.FileFilter, ChapterImporterXml.FileFilter, ChapterImporterTxt.FileFilter),
                         FilterIndex = 1,  // 1 based, the index value of the first filter entry is 1
                         CheckFileExists = true
                     })