Folder List enhancements

This commit is contained in:
sora10pls 2017-05-17 21:25:48 -04:00
parent 58f9e808d7
commit c6c76c3983
2 changed files with 5 additions and 1 deletions

View file

@ -8,7 +8,8 @@ CTRL-E: Export SAV
CTRL-B: Export BAK CTRL-B: Export BAK
CTRL-Q: Quit CTRL-Q: Quit
CTRL-D: Open Database CTRL-D: Open PKM Database
CTRL-F: Open Folder
CTRL-G: Open Mystery Gift Database CTRL-G: Open Mystery Gift Database
CTRL-R: Open Box Report CTRL-R: Open Box Report
CTRL-P: Open About PKHeX CTRL-P: Open About PKHeX

View file

@ -41,7 +41,10 @@ namespace PKHeX.WinForms
button.Click += (s, e) => button.Click += (s, e) =>
{ {
if (Directory.Exists(path)) if (Directory.Exists(path))
{
Process.Start("explorer.exe", path); Process.Start("explorer.exe", path);
Close();
}
else else
WinFormsUtil.Alert("Can't find folder:", path); WinFormsUtil.Alert("Can't find folder:", path);
}; };