From 2a92e49ee9eba72ce2996f8a9711b510fba1c1bd Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Fri, 6 Jan 2023 22:06:27 -0600 Subject: [PATCH] Load settings instead of instantiating new --- LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs b/LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs index 1e2e61e..f8a31f3 100644 --- a/LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs +++ b/LANCommander.Playnite.Extension/PlayniteSettingsView.xaml.cs @@ -27,7 +27,7 @@ namespace LANCommander.Playnite.Extension InitializeComponent(); - var settings = Plugin.GetSettings(false) as PlayniteSettingsViewModel; + var settings = new PlayniteSettingsViewModel(plugin); if (Plugin.LANCommander.ValidateToken(new AuthToken() {