개정판 f43f6e1f
issue #000: fix symbol delete
Change-Id: Ib11a71225ffd6e5f6f16a78bc51303b652515bbc
DTI_PID/DTI_PID/SymbolTreeWidget.py | ||
---|---|---|
198 | 198 |
project = AppDocData.instance().getCurrentProject() |
199 | 199 |
imagePath = os.path.join(project.getImageFilePath(), itemType, |
200 | 200 |
itemName + '.png') # itemName DOESN'T includes ".png" |
201 |
imageDisplayPath = os.path.join(project.getImageFilePath(), itemType, |
|
202 |
itemName + '_display' + '.png') # itemName DOESN'T includes ".png" |
|
201 | 203 |
if os.path.exists(imagePath): |
202 | 204 |
os.remove(imagePath) |
205 |
if os.path.exists(imageDisplayPath): |
|
206 |
os.remove(imageDisplayPath) |
|
203 | 207 |
|
204 | 208 |
svgPath = os.path.join(project.getSvgFilePath(), itemType, itemName + '.svg') |
205 | 209 |
if os.path.exists(svgPath): |
내보내기 Unified diff