Prefs: Fix display when a comment node exists in config
This commit is contained in:
parent
339a0133a9
commit
1b2a45b77e
|
@ -90,7 +90,7 @@ class GuiPrefs:
|
||||||
|
|
||||||
#iter = self.configStore.append( parent, [node.nodeValue, None] )
|
#iter = self.configStore.append( parent, [node.nodeValue, None] )
|
||||||
iter = None
|
iter = None
|
||||||
if node.nodeType != node.TEXT_NODE:
|
if node.nodeType != node.TEXT_NODE and node.nodeType != node.COMMENT_NODE:
|
||||||
iter = self.configStore.append( parent, [node, setting, value] )
|
iter = self.configStore.append( parent, [node, setting, value] )
|
||||||
if node.hasAttributes():
|
if node.hasAttributes():
|
||||||
for i in xrange(node.attributes.length):
|
for i in xrange(node.attributes.length):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user