objdictgen/nodemanager.py
changeset 545 ff692766e5e9
parent 512 e84806c0ada4
child 580 2ae92a99ac10
equal deleted inserted replaced
544:7620872e153c 545:ff692766e5e9
   675             node = self.CurrentNode
   675             node = self.CurrentNode
   676         if node and node.IsEntry(index):
   676         if node and node.IsEntry(index):
   677             if name == "value":
   677             if name == "value":
   678                 if editor == "map":
   678                 if editor == "map":
   679                     value = node.GetMapValue(value)
   679                     value = node.GetMapValue(value)
   680                     if value:
   680                     if value is not None:
   681                         node.SetEntry(index, subIndex, value)
   681                         node.SetEntry(index, subIndex, value)
   682                 elif editor == "bool":
   682                 elif editor == "bool":
   683                     value = value == "True"
   683                     value = value == "True"
   684                     node.SetEntry(index, subIndex, value)
   684                     node.SetEntry(index, subIndex, value)
   685                 elif editor == "time":
   685                 elif editor == "time":