mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Fix showing profiles created using the dropdown menu in the dropdown and on the profiles manager
CURA-1585
This commit is contained in:
parent
3752a6bbef
commit
a139809b75
1 changed files with 6 additions and 0 deletions
|
@ -289,6 +289,12 @@ class MachineManagerModel(QObject):
|
|||
## Copy all values
|
||||
new_quality_container.deserialize(user_settings.serialize())
|
||||
|
||||
## If the currently active machine does not have quality profiles of its own,
|
||||
# make the new quality profile available for all machines that don't have
|
||||
# unique quality profiles (including the current machine)
|
||||
if not self.filterQualityByMachine:
|
||||
new_quality_container.setDefinition(UM.Settings.ContainerRegistry.getInstance().findDefinitionContainers(id = "fdmprinter")[0])
|
||||
|
||||
## Change type / id / name
|
||||
new_quality_container.setMetaDataEntry("type","quality")
|
||||
new_quality_container.setName(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue