diff options
author | Jaime van Kessel <nallath@gmail.com> | 2022-05-04 12:07:36 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2022-05-04 12:09:49 +0300 |
commit | 0c98ce23842ec29afc8c7c378702e2f1e72a5cca (patch) | |
tree | 3b51b881dc381f45dc150d73d40c14000784038e /plugins/UM3NetworkPrinting | |
parent | c3918da6a578dc162b5ed7cc573cfe3398666528 (diff) |
Use correct role for standardbutton
Otherwise the no won't register...
CURA-9229
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 004c9bc656..d88814818a 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.ButtonRole.NoRole: + if result == QMessageBox.StandardButton.No: return for machine_cloud_id in self.reported_device_ids: |