diff --git a/src/View/MainWindow.py b/src/View/MainWindow.py index e8a2d847..47b6cd22 100644 --- a/src/View/MainWindow.py +++ b/src/View/MainWindow.py @@ -408,12 +408,11 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit): sql_request_count = self._study.sql_save_request_count() progress = QProgressDialog( - "Saving...", "Cancel", + "Saving...", None, 0, sql_request_count, parent=self ) progress.setWindowModality(Qt.WindowModal) - progress.setValue(0) logger.info("Save...")