개정판 3aeaaa66
issue #622: fix save xml line no
Change-Id: I8f34ed3d8f6132cdff6aecfd7326493d19d69123
DTI_PID/DTI_PID/Shapes/EngineeringLineNoTextItem.py | ||
---|---|---|
440 | 440 |
properties_node = Element('PROPERTIES') |
441 | 441 |
for prop,value in self.properties.items(): |
442 | 442 |
prop_node = prop.toXml() |
443 |
prop_node.text = '' if not value else str(value.uid) if prop.is_selectable else str(value)
|
|
443 |
prop_node.text = str(value) if value else ''
|
|
444 | 444 |
properties_node.append(prop_node) |
445 | 445 |
node.append(properties_node) |
446 | 446 |
|
... | ... | |
564 | 564 |
''' |
565 | 565 |
def toSql_return_separately(self): |
566 | 566 |
import uuid |
567 |
from EngineeringAbstractItem import QEngineeringAbstractItem |
|
567 | 568 |
|
568 | 569 |
res = [] |
569 | 570 |
resLater = [] |
내보내기 Unified diff