Make the labels in the quality menus match those from the selected extruder.

CURA-2271 Warn for unsupported material/printcore combinations
This commit is contained in:
Simon Edwards 2016-10-13 10:55:32 +02:00
parent c0654c56a0
commit f659d01da1
3 changed files with 22 additions and 4 deletions

View file

@ -131,7 +131,8 @@ class QualityManager:
#
# \param global_container_stack \type{ContainerStack} the global machine definition
# \param extruder_stacks \type{List[ContainerStack]} the list of extruder stacks
# \return \type{List[InstanceContainer]} the list of the matching qualities
# \return \type{List[InstanceContainer]} the list of the matching qualities. The quality profiles
# return come from the first extruder in the given list of extruders.
def findAllUsableQualitiesForMachineAndExtruders(self, global_container_stack, extruder_stacks):
global_machine_definition = global_container_stack.getBottom()