mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-04 00:01:19 -07:00
Document setActiveExtruderIndex
Contributes to issues CURA-340 and CURA-1278.
This commit is contained in:
parent
e4e307cd2a
commit
14b9294a39
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ class ExtruderManager(QObject):
|
|||
cls.__instance = ExtruderManager()
|
||||
return cls.__instance
|
||||
|
||||
## Changes the active extruder by index.
|
||||
#
|
||||
# \param index The index of the new active extruder.
|
||||
@pyqtSlot(int)
|
||||
def setActiveExtruderIndex(self, index):
|
||||
self._active_extruder_index = index
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue