Adapt ovewritten method signature

This commit is contained in:
Diego Prado Gesto 2018-05-07 11:49:30 +02:00
parent 58289a7b45
commit b576423747
2 changed files with 2 additions and 2 deletions

View file

@ -125,7 +125,7 @@ class GlobalStack(CuraContainerStack):
#
# This will simply raise an exception since the Global stack cannot have a next stack.
@override(ContainerStack)
def setNextStack(self, next_stack: ContainerStack) -> None:
def setNextStack(self, stack: CuraContainerStack, connect_signals: bool = True) -> None:
raise Exceptions.InvalidOperationError("Global stack cannot have a next stack!")
# protected: