116 QMessageBox.No) |
115 QMessageBox.No) |
117 if res == QMessageBox.Yes: |
116 if res == QMessageBox.Yes: |
118 if not self.__refactoring.confirmAllBuffersSaved(): |
117 if not self.__refactoring.confirmAllBuffersSaved(): |
119 return |
118 return |
120 |
119 |
|
120 from ProgressHandle import ProgressHandle |
121 handle = ProgressHandle(change.description, False, self) |
121 handle = ProgressHandle(change.description, False, self) |
122 handle.show() |
122 handle.show() |
123 QApplication.processEvents() |
123 QApplication.processEvents() |
124 if self.__isUndo: |
124 if self.__isUndo: |
125 self.__refactoring.getProject().history.undo( |
125 self.__refactoring.getProject().history.undo( |