Fix blank error message

Closes #1251

Thanks @ReignOfComputer for finding the source :)
This commit is contained in:
Kurt 2017-06-20 18:16:29 -07:00
parent 1a9da12404
commit 2db061d15d

View file

@ -180,7 +180,7 @@ namespace PKHeX.WinForms
{ {
try try
{ {
if (!DetectSaveFile(out string path)) if (!DetectSaveFile(out string path) && path != null)
WinFormsUtil.Error(path); WinFormsUtil.Error(path);
if (path != null && File.Exists(path)) if (path != null && File.Exists(path))