mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Ensure that the display matches with the backend active extruder data
This commit is contained in:
parent
bf53baccee
commit
a5ba68bae3
2 changed files with 6 additions and 2 deletions
|
@ -66,6 +66,10 @@ class ExtruderManager(QObject):
|
|||
self._active_extruder_index = index
|
||||
self.activeExtruderChanged.emit()
|
||||
|
||||
@pyqtProperty(int, notify = activeExtruderChanged)
|
||||
def activeExtruderIndex(self):
|
||||
return self._active_extruder_index
|
||||
|
||||
def getActiveExtruderStack(self):
|
||||
global_container_stack = UM.Application.getInstance().getGlobalContainerStack()
|
||||
if global_container_stack:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue