diff --git a/PKX/f1-Main.cs b/PKX/f1-Main.cs index a456f6cb8..113ef8871 100644 --- a/PKX/f1-Main.cs +++ b/PKX/f1-Main.cs @@ -198,6 +198,10 @@ private void mainMenuOpen(object sender, EventArgs e) FileName = "main", }; + // Reset file dialog path if it no longer exists + if (!Directory.Exists(ofd.InitialDirectory)) + ofd.InitialDirectory = Environment.CurrentDirectory; + // Detect main string cyberpath = Util.GetTempFolder(); pathSDF = Util.GetSDFLocation();