Fix schoolwork loading bug

This commit is contained in:
Tim Young 2017-08-07 19:27:59 -05:00
parent e13341010b
commit 43516d5b89

View File

@ -48,7 +48,9 @@ namespace EduNetworkBuilder
public SchoolworkClass(XmlNode TheNode)
{
Load(TheNode);
List<SchoolworkClass> WhatIs = Load(TheNode);
if (WhatIs.Count > 0)
SchoolworkClass.Clone(WhatIs[0], this);
}
public SchoolworkClass(string FileName)