Fix Extruder tabs in MachineSettings dialog

CURA-4722

The extruder field views should be bound to the actual extruder, not the
active extruder.
This commit is contained in:
Lipu Fei 2017-12-20 13:58:02 +01:00
parent 49ee2a543e
commit 6d06d18407

View File

@ -726,7 +726,7 @@ Cura.MachineAction
{ {
if(settingsTabs.currentIndex > 0) if(settingsTabs.currentIndex > 0)
{ {
return Cura.MachineManager.activeStackId; return Cura.ExtruderManager.extruderIds[String(settingsTabs.currentIndex - 1)];
} }
return ""; return "";
} }