개정판 2d332169
issue #000: fix tree highlight
Change-Id: I2c17a7c4f358a1c2cb5811060b3452c6a0b4d39c
DTI_PID/DTI_PID/ItemTreeWidget.py | ||
---|---|---|
515 | 515 |
elif (type(itemData) is QEngineeringLineNoTextItem) or (type(itemData) is QEngineeringRunItem): |
516 | 516 |
HighlightCommand(self.imageViewer).execute(itemData) |
517 | 517 |
self.lineNoSingleClicked.emit(itemData) |
518 |
item.setSelected(True) |
|
518 |
for child in range(item.childCount()): |
|
519 |
item.child(child).setSelected(True) |
|
519 | 520 |
elif type(itemData) is list and type(itemData[0]) is QEngineeringNoteItem: |
520 | 521 |
HighlightCommand(self.imageViewer).execute(itemData) |
521 | 522 |
''' |
내보내기 Unified diff