Add a selector for the intent profile

CURA-6534
This commit is contained in:
Jaime van Kessel 2019-06-05 11:13:32 +02:00
parent 2d8c19203e
commit 35ec70a3cf
5 changed files with 95 additions and 4 deletions

View file

@ -93,7 +93,7 @@ class CuraContainerStack(ContainerStack):
#
# \param new_intent The new intent container. It is expected to have a "type" metadata entry with the value "intent".
def setIntent(self, new_intent: InstanceContainer, postpone_emit: bool = False) -> None:
self.replaceContainer(_ContainerIndexes.Quality, new_intent, postpone_emit=postpone_emit)
self.replaceContainer(_ContainerIndexes.Intent, new_intent, postpone_emit=postpone_emit)
## Get the quality container.
#