Select first extruder when switching to a printer

The days of the global tab are numbered

CURA-1758
This commit is contained in:
fieldOfView 2016-07-18 15:15:10 +02:00
parent efa2099912
commit a48b3b7398

View file

@ -22,7 +22,7 @@ class ExtruderManager(QObject):
def __init__(self, parent = None):
super().__init__(parent)
self._extruder_trains = { } #Per machine, a dictionary of extruder container stack IDs.
self._active_extruder_index = -1
self._active_extruder_index = 0
UM.Application.getInstance().globalContainerStackChanged.connect(self.__globalContainerStackChanged)
self._addCurrentMachineExtruders()