From b99be5a28081d56b3237bdc4a8e9c6eb03f394dd Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr> Date: Tue, 12 Dec 2023 13:34:34 +0100 Subject: [PATCH] MainWindow: Remove cancel button. --- src/View/MainWindow.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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...") -- GitLab