summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUI.cs
diff options
context:
space:
mode:
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();
}