From 2f76d83add7d159608723ddb5e0bef0da6360c52 Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 9 Feb 2017 20:19:38 -0800 Subject: [PATCH] Add VC extension to openfiledialog filter So crowded, put all files at the top for default behavior --- PKHeX.WinForms/MainWindow/Main.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PKHeX.WinForms/MainWindow/Main.cs b/PKHeX.WinForms/MainWindow/Main.cs index 9ffec3e53..6a3e834a5 100644 --- a/PKHeX.WinForms/MainWindow/Main.cs +++ b/PKHeX.WinForms/MainWindow/Main.cs @@ -320,14 +320,14 @@ private void mainMenuOpen(object sender, EventArgs e) string supported = string.Join(";", SAV.PKMExtensions.Select(s => "*."+s).Concat(new[] {"*.pkm"})); OpenFileDialog ofd = new OpenFileDialog { - Filter = $"Supported Files|main;*.sav;*.bin;*.{ekx};{supported};*.bak" + + Filter = "All Files|*.*" + + $"|Supported Files|main;*.sav;*.dat;*.bin;*.{ekx};{supported};*.bak" + "|3DS Main Files|main" + - "|Save Files|*.sav" + + "|Save Files|*.sav;*.dat;" + $"|Decrypted PKM File|{supported}" + $"|Encrypted PKM File|*.{ekx}" + "|Binary File|*.bin" + - "|Backup File|*.bak" + - "|All Files|*.*" + "|Backup File|*.bak" }; // Detect main