Add VC extension to openfiledialog filter

So crowded, put all files at the top for default behavior
This commit is contained in:
Kurt 2017-02-09 20:19:38 -08:00
parent 3b0485414d
commit 2f76d83add

View File

@ -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