CuraContainerStack now overrides getBottom, so it always returns a definition

This commit is contained in:
Jaime van Kessel 2017-05-12 16:32:00 +02:00
parent 4474b16847
commit 7ee5a66c64
2 changed files with 6 additions and 1 deletions

View file

@ -254,6 +254,10 @@ class CuraContainerStack(ContainerStack):
def definition(self) -> DefinitionContainer:
return self._containers[_ContainerIndexes.Definition]
@override(ContainerStack)
def getBottom(self) -> "DefinitionContainer":
return self.definition
## Check whether the specified setting has a 'user' value.
#
# A user value here is defined as the setting having a value in either