mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 20:43:07 +00:00
Fix blank error message
Closes #1251 Thanks @ReignOfComputer for finding the source :)
This commit is contained in:
parent
1a9da12404
commit
2db061d15d
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue