Move createQualityChanges function to QualityManagementModel

This function is specific to the management page (for the most part; some things seem to call the _createQualityChanges private function nonetheless).

Contributes to issue CURA-6600.
This commit is contained in:
Ghostkeeper 2019-09-02 17:07:18 +02:00
parent b05de3e6d8
commit b5d32a9b70
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
3 changed files with 60 additions and 41 deletions

View file

@ -182,7 +182,7 @@ Item
{
base.newQualityNameToSelect = newName; // We want to switch to the new profile once it's created
base.toActivateNewQuality = true;
base.qualityManager.createQualityChanges(newName);
base.qualityManagementModel.createQualityChanges(newName);
}
}