Fixed minor issue with template import
This commit is contained in:
parent
bc6193c7d7
commit
7f83b0f19a
|
@ -33,7 +33,7 @@ public class WordListData extends ComboBoxData<WordListData> {
|
||||||
@Override
|
@Override
|
||||||
public Element toXml(Document doc) {
|
public Element toXml(Document doc) {
|
||||||
Element root = super.toXml(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");
|
Element element = doc.createElement("options");
|
||||||
if (this.options != null) {
|
if (this.options != null) {
|
||||||
for (Option option : this.options) {
|
for (Option option : this.options) {
|
||||||
|
|
Loading…
Reference in New Issue