Fixed minor issue with template import

This commit is contained in:
George Kalampokis 2020-09-11 15:57:52 +03:00
parent bc6193c7d7
commit 7f83b0f19a
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class WordListData extends ComboBoxData<WordListData> {
@Override
public Element toXml(Document doc) {
Element root = super.toXml(doc);
root.setAttribute("multiList", this.multiList.toString());
root.setAttribute("multiList", this.multiList != null ? this.multiList.toString() : "false");
Element element = doc.createElement("options");
if (this.options != null) {
for (Option option : this.options) {