Skip to content

Commit

Permalink
Fix for current Nodata Edom not getting saved
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinTalbert committed Aug 22, 2019
1 parent 8ed54dd commit 62e14a3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pymdwizard/gui/attr.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,8 @@ def include_nodata_change(self, b):
"""
if b:
self.ui.nodata_section.show()
# self.nodata
# self.nodata_edom.show()
else:
self.ui.nodata_section.hide()
# self.nodata = None

def mousePressEvent(self, event):
self.activate()
Expand Down Expand Up @@ -576,6 +573,7 @@ def to_xml(self):
cur_index = self.ui.comboBox.currentIndex()

if self.active:
self.store_current_content()
domain = self.domain.to_xml()
elif self._domain_content[cur_index] is not None:
domain = self._domain_content[cur_index]
Expand Down Expand Up @@ -611,6 +609,7 @@ def to_xml(self):
attrdomv = xml_utils.xml_node("attrdomv", parent_node=attr, index=3)
attrdomv.append(self.nodata_content[1])


return attr

def from_xml(self, attr):
Expand Down

0 comments on commit 62e14a3

Please sign in to comment.