Skip to content

Commit

Permalink
Fix TCDAWriter.WriteSNList to write TsnList.caption
Browse files Browse the repository at this point in the history
  • Loading branch information
Saxos-Simone committed Mar 30, 2021
1 parent 4e11997 commit 1d15951
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/cda/cda_writer.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4598,6 +4598,7 @@ procedure TCDAWriter.WriteSNList(Const sPath: string; oXml: TXmlBuilder; oFocus
writeSNBase(sPath, oXml, oFocus);
Attribute(sPath, oXml, 'listType', CODES_TsnListType[oFocus.listType], true);
oFocus.sourcelocation := oXml.Open('list');
WriteSNCaption(sPath+'\caption', oXml, oFocus.caption);
for iLoop := 0 to oFocus.item.Count - 1 Do
WriteSNListItem(sPath+'\item', oXml, oFocus.item[iLoop]);
oXml.Close('list');
Expand Down

0 comments on commit 1d15951

Please sign in to comment.