diff --git a/Mystify/App.axaml.cs b/Mystify/App.axaml.cs index b172692..d9f81c5 100644 --- a/Mystify/App.axaml.cs +++ b/Mystify/App.axaml.cs @@ -26,8 +26,9 @@ namespace Mystify { desktopStyleApplicationLifetime.MainWindow = new MainWindow { - DataContext = new MainWindowViewModel(), + DataContext = new MainWindowViewModel() }; + desktopStyleApplicationLifetime.Exit += OnExit; }