Browse Source

Fix ProfilesPage

The properties were not (fully) updated to the updated properties

Cura 8687
casper 3 years ago
parent
commit
c10d7d7537
1 changed files with 2 additions and 3 deletions
  1. 2 3
      resources/qml/Preferences/ProfilesPage.qml

+ 2 - 3
resources/qml/Preferences/ProfilesPage.qml

@@ -273,13 +273,12 @@ Item
     {
         id: confirmRemoveQualityDialog
 
-        icon: StandardIcon.Question;
         title: catalog.i18nc("@title:window", "Confirm Remove")
         text: catalog.i18nc("@label (%1 is object name)", "Are you sure you wish to remove %1? This cannot be undone!").arg(base.currentItemName)
         standardButtons: StandardButton.Yes | StandardButton.No
-        modality: Qt.ApplicationModal
+        modal: true
 
-        onYes:
+        onAccepted:
         {
             base.qualityManagementModel.removeQualityChangesGroup(base.currentItem.quality_changes_group);
             // reset current item to the first if available