aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Configuration.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-01-03 00:37:06 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-01-03 00:37:06 +0100
commit261107dbdf0d7ee4571c6c70788c1760e32ba4b1 (patch)
tree42491f69270bb0aed7e0c7c8e8a0d175585422c8 /src/Configuration.cs
parentca2044c913d034889dc50e57d8b1acaa9bde2a35 (diff)
Spinner styling, ColorPicker SelectedRawColor, config conversion debug, color.resetName
Diffstat (limited to 'src/Configuration.cs')
-rw-r--r--src/Configuration.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Configuration.cs b/src/Configuration.cs
index af52eed4..5e035f14 100644
--- a/src/Configuration.cs
+++ b/src/Configuration.cs
@@ -53,7 +53,7 @@ namespace Crow
if (!items.ContainsKey (key))
return default(T);
Type type = typeof(T);
- MethodInfo miParse = type.GetMethod ("Parse", BindingFlags.Static);
+ MethodInfo miParse = type.GetMethod ("Parse", new Type[] {typeof(string)});
if (miParse == null)
return (T)Convert.ChangeType (items [key], typeof(T));