equal
deleted
inserted
replaced
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": |