mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Fix setting definition if importing profile without printer-specific profiles
Fixes a crash.
This commit is contained in:
parent
3eef50dfb7
commit
c5e33e45a4
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ class CuraContainerRegistry(ContainerRegistry):
|
|||
quality_type_criteria["definition"] = profile.getDefinition().getId()
|
||||
|
||||
else:
|
||||
profile.setDefinition(fdmprinter)
|
||||
profile.setDefinition("fdmprinter")
|
||||
quality_type_criteria["definition"] = "fdmprinter"
|
||||
|
||||
machine_definition = Application.getInstance().getGlobalContainerStack().getBottom()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue