diff options
| author | a1xd <[email protected]> | 2021-09-07 19:53:00 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-09-23 22:33:13 -0400 |
| commit | 00d39102b469b459c5803fe1a20e52d8217add08 (patch) | |
| tree | 823f4d06fd22cb437d45f868ffbbecaf127a82c3 /grapher/Models/AccelGUI.cs | |
| parent | show power mode cap field (diff) | |
| download | rawaccel-00d39102b469b459c5803fe1a20e52d8217add08.tar.xz rawaccel-00d39102b469b459c5803fe1a20e52d8217add08.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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/grapher/Models/AccelGUI.cs b/grapher/Models/AccelGUI.cs index e4f924a..6ad57d9 100644 --- a/grapher/Models/AccelGUI.cs +++ b/grapher/Models/AccelGUI.cs @@ -139,8 +139,7 @@ namespace grapher { ButtonDelay(WriteButton); - var cfg = DriverConfig.FromProfile(MakeSettingsFromFields()); - if (!Settings.TryActivate(cfg, out string errors)) + if (!Settings.TryActivate(MakeSettingsFromFields(), out string errors)) { error_message = errors.ToString(); } |