개정판 7108869f
issue #622: fix progress bar percent
Change-Id: I21f4dfb7cbaaed25b45d4de0d08f3052810fa489
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
3260 | 3260 |
progress += 1 |
3261 | 3261 |
|
3262 | 3262 |
if show_progress: |
3263 |
show_progress.emit(100)
|
|
3263 |
show_progress.emit(99)
|
|
3264 | 3264 |
|
3265 | 3265 |
conn.commit() |
3266 | 3266 |
# Catch the exception |
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
700 | 700 |
|
701 | 701 |
def save_finished(self): |
702 | 702 |
"""reload drawing list""" |
703 |
self._save_work_cmd.show_progress.emit(100) |
|
703 | 704 |
QMessageBox.about(self.graphicsView, self.tr('Information'), self._save_work_cmd.resultStr) |
704 | 705 |
self.load_drawing_list() |
705 | 706 |
|
내보내기 Unified diff