mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
MainWindow: Remove cancel button.
This commit is contained in:
1 parent
1acd582de9
commit
b99be5a280
1 file changed
+1
-2
@@ -408,12 +408,11 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
|||||||
|
|
||||||
sql_request_count = self._study.sql_save_request_count()
|
sql_request_count = self._study.sql_save_request_count()
|
||||||
progress = QProgressDialog(
|
progress = QProgressDialog(
|
||||||
"Saving...", "Cancel",
|
"Saving...", None,
|
||||||
0, sql_request_count,
|
0, sql_request_count,
|
||||||
parent=self
|
parent=self
|
||||||
)
|
)
|
||||||
progress.setWindowModality(Qt.WindowModal)
|
progress.setWindowModality(Qt.WindowModal)
|
||||||
|
|
||||||
progress.setValue(0)
|
progress.setValue(0)
|
||||||
|
|
||||||
logger.info("Save...")
|
logger.info("Save...")
|
||||||
|
|||||||
Reference in new issue
Block a user