diff options
| author | a1xd <[email protected]> | 2021-09-07 19:53:00 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-09-07 19:53:00 -0400 |
| commit | ff70490904e361b432756d611270adacb488e00a (patch) | |
| tree | e925f675e577fbc4f48702e85a85f45e2dd4f852 /grapher/Models/AccelGUI.cs | |
| parent | show power mode cap field (diff) | |
| download | rawaccel-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.cs | 4 |
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(); } |