mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-31 00:54:59 +00:00
enhance: quit application after main window has been closed
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
80aead3a17
commit
7501588c95
1 changed files with 1 additions and 0 deletions
|
@ -552,6 +552,7 @@ namespace SourceGit
|
|||
|
||||
_launcher = new ViewModels.Launcher(startupRepo);
|
||||
desktop.MainWindow = new Views.Launcher() { DataContext = _launcher };
|
||||
desktop.ShutdownMode = ShutdownMode.OnMainWindowClose;
|
||||
|
||||
#if !DISABLE_UPDATE_DETECTION
|
||||
if (pref.ShouldCheck4UpdateOnStartup())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue