Skip to content
Browse files

minor comment change

  • Loading branch information...
1 parent f305930 commit c36a52110d2d3023e450c1b8a28b17e424fe3e8d @maul-esel committed Apr 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ChameleonCoder.Core/Files/DataFile.cs
View
4 ChameleonCoder.Core/Files/DataFile.cs
@@ -672,7 +672,7 @@ internal void LoadResource(XmlElement node, IResource parent)
Guid type;
IResource resource = null;
- var attributes = new System.Collections.Specialized.ObservableStringDictionary(); // todo: register event -> save changes
+ var attributes = new System.Collections.Specialized.ObservableStringDictionary();
foreach (XmlAttribute attribute in node.Attributes)
{
attributes.Add(attribute.LocalName, attribute.Value);
@@ -697,7 +697,7 @@ internal void LoadResource(XmlElement node, IResource parent)
}
App.ResourceMan.Add(resource, parent); // and add it to all required lists // TODO! do not do this here!
- listeners.Add(resource, new XmlAttributeChangeListener(resource, node));
+ listeners.Add(resource, new XmlAttributeChangeListener(resource, node)); // listen to changes to save them
mappings.Add(resource, node);
foreach (XmlElement child in node.ChildNodes) // TODO! do not do this here!

0 comments on commit c36a521

Please sign in to comment.
Something went wrong with that request. Please try again.