개정판 0d38d80c
fix item coloring
Change-Id: I84f44ab99464840408d77a0d6cfd4cdd15d55fd1
DTI_PID/DTI_PID/App.py | ||
---|---|---|
190 | 190 |
message = f'error occurred({ex}) in {sys.exc_info()[-1].tb_frame.f_code.co_filename}:' \ |
191 | 191 |
f'{sys.exc_info()[-1].tb_lineno}' |
192 | 192 |
print(message) |
193 |
|
|
194 | 193 |
'''up to here''' |
195 | 194 |
|
196 | 195 |
app_doc_data = AppDocData.instance() |
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
3128 | 3128 |
# for _label in item._labels: |
3129 | 3129 |
# item.scene().removeItem(_label) |
3130 | 3130 |
# item._labels = [] |
3131 |
|
|
3131 |
|
|
3132 |
item.hoverLeaveEvent(None) |
|
3132 | 3133 |
item.scene().removeItem(item) |
3133 | 3134 |
except Exception as ex: |
3134 | 3135 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, |
내보내기 Unified diff