diff --git a/GreenshotCore/Core/ConfigHelper.cs b/GreenshotCore/Core/ConfigHelper.cs index e607e601d..50b15508c 100644 --- a/GreenshotCore/Core/ConfigHelper.cs +++ b/GreenshotCore/Core/ConfigHelper.cs @@ -210,6 +210,10 @@ namespace Greenshot.Core { field.SetValue(section, list); } + } else if (fieldType.IsGenericType && fieldType.GetGenericTypeDefinition() == typeof(Dictionary<,>)) { + Type type1 = fieldType.GetGenericArguments()[0]; + Type type2 = fieldType.GetGenericArguments()[1]; + LOG.Info(String.Format("Found Dictionary<{0},{1}>",type1.Name, type2.Name)); } else { if (fieldType.IsGenericType && fieldType.GetGenericTypeDefinition().Equals(typeof(Nullable<>))) { // We are dealing with a generic type that is nullable