Commit b99be5a2 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

MainWindow: Remove cancel button.

Showing with 1 addition and 2 deletions
+1 -2
......@@ -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...")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment