mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:09:00 +08: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
@ -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…
x
Reference in New Issue
Block a user