From 7eb096767cd3f9d088967132f3964d714d74cf11 Mon Sep 17 00:00:00 2001 From: BobdaFett Date: Wed, 29 Nov 2023 21:31:36 -0500 Subject: [PATCH] Pushing more possibly broken code. --- PcgsInvUi/App.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.