mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:45:55 +08:00
Remove unnecessary signal connection in MaterialsModel
CURA-5052
This commit is contained in:
parent
75d9297c7d
commit
6cae5c2e35
@ -40,8 +40,6 @@ class BaseMaterialsModel(ListModel):
|
|||||||
self._extruder_position = 0
|
self._extruder_position = 0
|
||||||
self._extruder_stack = None
|
self._extruder_stack = None
|
||||||
|
|
||||||
self._machine_manager.globalContainerChanged.connect(self._updateExtruderStack)
|
|
||||||
|
|
||||||
def _updateExtruderStack(self):
|
def _updateExtruderStack(self):
|
||||||
global_stack = self._machine_manager.activeMachine
|
global_stack = self._machine_manager.activeMachine
|
||||||
if global_stack is None:
|
if global_stack is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user