From ff70490904e361b432756d611270adacb488e00a Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Tue, 7 Sep 2021 19:53:00 -0400 Subject: update SettingsManager load active config from driver only when necessary ignore devices that aren't running the active profile (in mousewatcher) --- grapher/Models/AccelGUI.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'grapher/Models/AccelGUI.cs') diff --git a/grapher/Models/AccelGUI.cs b/grapher/Models/AccelGUI.cs index c83c1fa..84a51a0 100644 --- a/grapher/Models/AccelGUI.cs +++ b/grapher/Models/AccelGUI.cs @@ -130,9 +130,7 @@ namespace grapher ButtonDelay(WriteButton); - var cfg = DriverConfig.FromProfile(settings); - - if (!Settings.TryActivate(cfg, out string errors)) + if (!Settings.TryActivate(settings, out string errors)) { new MessageDialog(errors, "bad input").ShowDialog(); } -- cgit v1.2.3