diff --git a/PcgsInvUi/App.axaml.cs b/PcgsInvUi/App.axaml.cs index a938ffb..fef6c1d 100644 --- a/PcgsInvUi/App.axaml.cs +++ b/PcgsInvUi/App.axaml.cs @@ -17,7 +17,7 @@ public partial class App : Application { if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) { var coins = new CoinDatabase(); desktop.MainWindow = new MainWindow { - DataContext = new MainWindowViewModel(), + DataContext = new MainWindowViewModel(coins, true), }; // Allow the application to save the database when it exits.