Fix ProfilesPage

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

Cura 8687
This commit is contained in:
casper 2022-02-07 22:03:37 +01:00
parent f957cc289e
commit c10d7d7537

View File

@ -273,13 +273,12 @@ Item
{ {
id: confirmRemoveQualityDialog id: confirmRemoveQualityDialog
icon: StandardIcon.Question;
title: catalog.i18nc("@title:window", "Confirm Remove") 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) 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 standardButtons: StandardButton.Yes | StandardButton.No
modality: Qt.ApplicationModal modal: true
onYes: onAccepted:
{ {
base.qualityManagementModel.removeQualityChangesGroup(base.currentItem.quality_changes_group); base.qualityManagementModel.removeQualityChangesGroup(base.currentItem.quality_changes_group);
// reset current item to the first if available // reset current item to the first if available