개정판 b448ecc2
issue #000: fix itemremoved
Change-Id: I5becaf4fb24998aa558714d86e6d23a3148f2616
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1900 | 1900 |
# _item.remove_assoc_item(item) |
1901 | 1901 |
|
1902 | 1902 |
app_doc_data = AppDocData.instance() |
1903 |
if type(item) is QEngineeringLineNoTextItem: |
|
1903 |
if type(item) is QEngineeringLineNoTextItem and item in app_doc_data.tracerLineNos:
|
|
1904 | 1904 |
app_doc_data.tracerLineNos.pop(app_doc_data.tracerLineNos.index(item)) |
1905 | 1905 |
|
1906 | 1906 |
matches = [_item for _item in self.graphicsView.scene.items() if type(_item) is QEngineeringLineNoTextItem] |
내보내기 Unified diff