summaryrefslogtreecommitdiff
path: root/grapher/Models/AccelGUI.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-01-14 12:44:57 -0500
committerGitHub <[email protected]>2021-01-14 12:44:57 -0500
commitc1cd6664a4479ff2210d2461dac5ad84c514bb75 (patch)
treeaf13c3a7cd3f2a3f4d1f88121b06db259c0a9bf1 /grapher/Models/AccelGUI.cs
parentMerge pull request #64 from Tatsujinichi/master (diff)
downloadrawaccel-c1cd6664a4479ff2210d2461dac5ad84c514bb75.tar.xz
rawaccel-c1cd6664a4479ff2210d2461dac5ad84c514bb75.zip
show custom dialog on bad input (#63)
* show custom dialog on bad input fixes #62 * Update MessageDialog constructor args
Diffstat (limited to 'grapher/Models/AccelGUI.cs')
-rw-r--r--grapher/Models/AccelGUI.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/grapher/Models/AccelGUI.cs b/grapher/Models/AccelGUI.cs
index 81b3e13..bb634ff 100644
--- a/grapher/Models/AccelGUI.cs
+++ b/grapher/Models/AccelGUI.cs
@@ -162,7 +162,7 @@ namespace grapher
}
else
{
- throw new Exception($"Bad arguments:\n\n{errors}");
+ new MessageDialog(errors.ToString(), "bad input").ShowDialog();
}
}