Merge branch 'feature/save-as-issue' into 'release/0.4.1.006'

Feature/save as issue

See merge request SympatheticFire/bookmark-manager-r4!5
This commit is contained in:
Ray 2021-10-12 19:09:33 +00:00
commit ecc0883fe0
2 changed files with 6 additions and 0 deletions

View File

@ -297,6 +297,8 @@ namespace FizzyLauncher
base.OnShown(e); base.OnShown(e);
this.DialogResult = DialogResult.None; this.DialogResult = DialogResult.None;
textBox2.Focus();
} }
protected override void OnClosing(CancelEventArgs e) protected override void OnClosing(CancelEventArgs e)

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();
} }