From 43516d5b891deed4267847e59e291618f4cf02ce Mon Sep 17 00:00:00 2001 From: Tim Young Date: Mon, 7 Aug 2017 19:27:59 -0500 Subject: [PATCH] Fix schoolwork loading bug --- EduNetworkBuilder/SchoolworkClass.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/EduNetworkBuilder/SchoolworkClass.cs b/EduNetworkBuilder/SchoolworkClass.cs index ec1d744..2f25214 100644 --- a/EduNetworkBuilder/SchoolworkClass.cs +++ b/EduNetworkBuilder/SchoolworkClass.cs @@ -48,7 +48,9 @@ namespace EduNetworkBuilder public SchoolworkClass(XmlNode TheNode) { - Load(TheNode); + List WhatIs = Load(TheNode); + if (WhatIs.Count > 0) + SchoolworkClass.Clone(WhatIs[0], this); } public SchoolworkClass(string FileName)