mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
A small fix for the case when Cura is starting up and there is no printer.
CURA-2271 Warn for unsupported material/printcore combinations
This commit is contained in:
parent
f659d01da1
commit
f7fe59c707
2 changed files with 6 additions and 4 deletions
|
@ -32,8 +32,9 @@ class ProfilesModel(InstanceContainersModel):
|
|||
extruder_manager = ExtruderManager.getInstance()
|
||||
active_extruder = extruder_manager.getActiveExtruderStack()
|
||||
extruder_stacks = extruder_manager.getActiveExtruderStacks()
|
||||
extruder_stacks.remove(active_extruder)
|
||||
extruder_stacks = [active_extruder] + extruder_stacks
|
||||
if active_extruder in extruder_stacks:
|
||||
extruder_stacks.remove(active_extruder)
|
||||
extruder_stacks = [active_extruder] + extruder_stacks
|
||||
|
||||
# Fetch the list of useable qualities across all extruders.
|
||||
# The actual list of quality profiles come from the first extruder in the extruder list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue