mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 17:45:56 +08: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
@ -289,6 +289,12 @@ class MachineManagerModel(QObject):
|
|||||||
## Copy all values
|
## Copy all values
|
||||||
new_quality_container.deserialize(user_settings.serialize())
|
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
|
## Change type / id / name
|
||||||
new_quality_container.setMetaDataEntry("type","quality")
|
new_quality_container.setMetaDataEntry("type","quality")
|
||||||
new_quality_container.setName(name)
|
new_quality_container.setName(name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user