mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Datamodels - A few small fixes to fix errors during startup
Layer properties - Reimplemented property tree Stylet - Add support for binding views to generic VMs
This commit is contained in:
1 parent
e036cbbfe4
commit
7b238e241e
22 files changed
+207
-42
No files matched your search
@@ -50,7 +50,7 @@ namespace Artemis.Core.Plugins.Abstract.DataModels
|
||||
continue;
|
||||
|
||||
// If the a nested datamodel, ensure the properties on there are valid
|
||||
if (propertyInfo.PropertyType == typeof(DataModel))
|
||||
if (typeof(DataModel).IsAssignableFrom(propertyInfo.PropertyType))
|
||||
ValidateType(propertyInfo.PropertyType);
|
||||
else if (!SupportedTypes.Contains(propertyInfo.PropertyType))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user