Fixed project item icons, and new document bug

This commit is contained in:
2014-09-12 19:20:21 +03:00
parent 0090059531
commit 22baf7f6a5
5 changed files with 63 additions and 10 deletions

View File

@ -201,6 +201,9 @@ namespace RainmeterStudio.Core.Model
}
}
/// <summary>
/// Gets the target kind
/// </summary>
[XmlAttribute("targetKind")]
public ReferenceTargetKind TargetKind
{
@ -297,8 +300,8 @@ namespace RainmeterStudio.Core.Model
throw new ArgumentException("Reference must be removed from its current parent first.");
// Add and parent
reference.Parent = this;
_children.Add(reference.Name, reference);
reference.Parent = this;
// Trigger event
if (CollectionChanged != null)