summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUI.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-07 19:53:00 -0400
committera1xd <[email protected]>2021-09-07 19:53:00 -0400
commitff70490904e361b432756d611270adacb488e00a (patch)
treee925f675e577fbc4f48702e85a85f45e2dd4f852 /grapher/Models/AccelGUI.cs
parentshow power mode cap field (diff)
downloadrawaccel-ff70490904e361b432756d611270adacb488e00a.tar.xz
rawaccel-ff70490904e361b432756d611270adacb488e00a.zip
update SettingsManager
load active config from driver only when necessary ignore devices that aren't running the active profile (in mousewatcher)
Diffstat (limited to 'grapher/Models/AccelGUI.cs')
-rw-r--r--grapher/Models/AccelGUI.cs4
1 files changed, 1 insertions, 3 deletions
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();
}