Fixed: save-as not keeping save file location

This commit is contained in:
Ray 2021-10-12 20:03:19 +01:00
parent 60f199b0f2
commit db6c2797cc

View File

@ -1184,6 +1184,10 @@ namespace FizzyLauncher
Result result = fileHandler.Save(treeView1, filename, password); Result result = fileHandler.Save(treeView1, filename, password);
if (result.IsSuccess) if (result.IsSuccess)
{ {
this.ApplicationMode = AppMode.Open;
sessionFilename = filename;
sessionPassword = password;
treeView1.SetNoChanges(); treeView1.SetNoChanges();
} }