mirror of https://gitlab.com/pamhyr/pamhyr2
MainWindow: Remove cancel button.
parent
1acd582de9
commit
b99be5a280
|
|
@ -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...")
|
||||
|
|
|
|||
Loading…
Reference in New Issue