diff options
author | Jaime van Kessel <nallath@gmail.com> | 2022-04-13 17:40:14 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2022-04-13 17:40:14 +0300 |
commit | c9e625767b419b6f581a1ac9daf41ea7d17b5938 (patch) | |
tree | 55e0459f0b0bdee593bbd76180258d9a7cc45551 /plugins/UM3NetworkPrinting | |
parent | 111d335743b8d72b26c966d34dbb1f8ea7587e12 (diff) |
Use right enum for message dialog
Diffstat (limited to 'plugins/UM3NetworkPrinting')
-rw-r--r-- | plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py index 931fdee154..004c9bc656 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py @@ -480,7 +480,7 @@ class CloudOutputDeviceManager: if remove_printers_ids == all_ids: question_content = self.i18n_catalog.i18nc("@label", "You are about to remove all printers from Cura. This action cannot be undone.\nAre you sure you want to continue?") result = QMessageBox.question(None, question_title, question_content) - if result == QMessageBox.No: + if result == QMessageBox.ButtonRole.NoRole: return for machine_cloud_id in self.reported_device_ids: |