Fix adding printers due to unused 'parent' parameter

The 'parent' parameter was unused, so I removed it. But I didn't remove all things that called it, apparently. I just removed some. I didn't try the stackbuilder.

Contributes to issue CURA-5330.
This commit is contained in:
Ghostkeeper 2018-06-01 14:02:32 +02:00
parent a0263676e1
commit 2fbcc22123
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
4 changed files with 9 additions and 10 deletions

View file

@ -23,8 +23,8 @@ from .CuraContainerStack import CuraContainerStack
## Represents the Global or Machine stack and its related containers.
#
class GlobalStack(CuraContainerStack):
def __init__(self, container_id: str, *args, **kwargs):
super().__init__(container_id, *args, **kwargs)
def __init__(self, container_id: str):
super().__init__(container_id)
self.addMetaDataEntry("type", "machine") # For backward compatibility