mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Use correct role for standardbutton
Otherwise the no won't register... CURA-9229
This commit is contained in:
parent
c3918da6a5
commit
0c98ce2384
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue