Skip to content

Commit

Permalink
Fix auto-detect save file on load
Browse files Browse the repository at this point in the history
introduced in
9967370
reference the field that stores the full file path

https://projectpokemon.org/home/forums/topic/46293-not-reading-card/
  • Loading branch information
kwsch committed Jul 18, 2018
1 parent 01c4ca3 commit e1b983b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PKHeX.WinForms/MainWindow/Main.cs
Expand Up @@ -1181,7 +1181,7 @@ private static bool DetectSaveFile(out string path)
if (sav == null && !string.IsNullOrWhiteSpace(msg))
WinFormsUtil.Error(msg);

path = sav?.FileName;
path = sav?.FilePath;
return path != null && File.Exists(path);
}

Expand Down

0 comments on commit e1b983b

Please sign in to comment.