This commit is contained in:
2026-04-23 01:22:59 +03:00
parent 226c0105ba
commit fea0029429

View File

@@ -82,9 +82,19 @@ namespace KeyKeeper.Views
{
WindowStartupLocation = WindowStartupLocation.CenterScreen
};
repositoryWindow.Closed += (s, e) => this.Close();
repositoryWindow.Closed += (s, e) =>
{
if (AppSettings.ExitOnRepositoryClose)
{
this.Close();
}
else
{
this.Show();
}
};
repositoryWindow.Show();
this.Hide();
this.Hide();
}
}
}