개정판 fc66ff03
issue #000: fix init run
Change-Id: Ib70edafb3fbc2ef664a3a7c38895bce5e0dd5ef8
DTI_PID/DTI_PID/ItemTreeWidget.py | ||
---|---|---|
210 | 210 |
for i in reversed(range(self.LineNoTreeItem.childCount())): |
211 | 211 |
self.explode_line_no(self.LineNoTreeItem.child(i)) |
212 | 212 |
finally: |
213 |
pass |
|
213 |
for item in [item for item in self.scene.items() if hasattr(item, '_owner')]: |
|
214 |
item.owner = None |
|
214 | 215 |
|
215 | 216 |
def reverse_line_flow(self, lineNoTreeWidgetItem): |
216 | 217 |
""" reverse line flow """ |
DTI_PID/DTI_PID/Shapes/EngineeringLineNoTextItem.py | ||
---|---|---|
446 | 446 |
def explode(self): |
447 | 447 |
""" explode line no """ |
448 | 448 |
try: |
449 |
for run in self.runs:
|
|
450 |
run.explode()
|
|
449 |
for index in reversed(range(len(self.runs))):
|
|
450 |
self.runs[index].explode()
|
|
451 | 451 |
finally: |
452 | 452 |
self.runs.clear() |
453 | 453 |
self.set_property('From', None) |
내보내기 Unified diff