mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
WIP: Fix NozzleMenu QObject result type
This commit is contained in:
parent
5d4a2a7e49
commit
2d5f65a954
2 changed files with 3 additions and 4 deletions
|
@ -1115,7 +1115,7 @@ class MachineManager(QObject):
|
|||
def createMachineManager():
|
||||
return MachineManager()
|
||||
|
||||
@pyqtSlot(int, result = "QVariant")
|
||||
@pyqtSlot(int, result = QObject)
|
||||
def getExtruder(self, position: int):
|
||||
if self._global_container_stack:
|
||||
return self._global_container_stack.extruders.get(str(position))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue