mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Also override getTop(), as curaContainerStack enforces it being a instanceContainer
This helps with the type hinting.
This commit is contained in:
parent
7ee5a66c64
commit
fb6d86dc88
1 changed files with 4 additions and 0 deletions
|
@ -258,6 +258,10 @@ class CuraContainerStack(ContainerStack):
|
|||
def getBottom(self) -> "DefinitionContainer":
|
||||
return self.definition
|
||||
|
||||
@override(ContainerStack)
|
||||
def getTop(self) -> "InstanceContainer":
|
||||
return self.userChanges
|
||||
|
||||
## Check whether the specified setting has a 'user' value.
|
||||
#
|
||||
# A user value here is defined as the setting having a value in either
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue