개정판 2a275af3
clear doc data when open drawing
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
710 | 710 |
|
711 | 711 |
self.path = self.graphicsView.loadImageFromFile(project.getDrawingFilePath()) |
712 | 712 |
if os.path.isfile(self.path): |
713 |
appDocData.clear() |
|
713 | 714 |
self.graphicsView.useDefaultCommand() |
714 | 715 |
|
715 | 716 |
appDocData.setImgFilePath(self.path) |
내보내기 Unified diff