mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 04:05:25 +08:00
Document setActiveExtruderIndex
Contributes to issues CURA-340 and CURA-1278.
This commit is contained in:
parent
e4e307cd2a
commit
14b9294a39
@ -58,6 +58,9 @@ class ExtruderManager(QObject):
|
|||||||
cls.__instance = ExtruderManager()
|
cls.__instance = ExtruderManager()
|
||||||
return cls.__instance
|
return cls.__instance
|
||||||
|
|
||||||
|
## Changes the active extruder by index.
|
||||||
|
#
|
||||||
|
# \param index The index of the new active extruder.
|
||||||
@pyqtSlot(int)
|
@pyqtSlot(int)
|
||||||
def setActiveExtruderIndex(self, index):
|
def setActiveExtruderIndex(self, index):
|
||||||
self._active_extruder_index = index
|
self._active_extruder_index = index
|
||||||
|
Loading…
x
Reference in New Issue
Block a user