Refer through to correct function of QualityManagementModel

Contributes to issue CURA-6600.
This commit is contained in:
Ghostkeeper 2019-09-02 17:52:18 +02:00
parent 4043afd09f
commit 7216a1dbd7
No known key found for this signature in database
GPG Key ID: 86BEF881AE2CF276

View File

@ -158,7 +158,7 @@ class QualityManager(QObject):
# unique.
@pyqtSlot(QObject, str, result = str)
def renameQualityChangesGroup(self, quality_changes_group: "QualityChangesGroup", new_name: str) -> str:
return cura.CuraApplication.CuraApplication.getInstance().getQualityManagementModel().removeQualityChangesGroup(quality_changes_group, new_name)
return cura.CuraApplication.CuraApplication.getInstance().getQualityManagementModel().renameQualityChangesGroup(quality_changes_group, new_name)
## Duplicates a given quality profile OR quality changes profile.
# \param new_name The desired name of the new profile. This will be made