mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Hide badge for disabled extruders
A configuration error or warning in a disabled extruder does not affect slicing or the available profiles for other extruder
This commit is contained in:
parent
c805aac3cc
commit
e537fa562e
1 changed files with 5 additions and 1 deletions
|
@ -93,6 +93,10 @@ Cura.ExpandablePopup
|
|||
targetPoint: Qt.point(Math.round(extruderIcon.width / 2), 0)
|
||||
text:
|
||||
{
|
||||
if (!model.enabled)
|
||||
{
|
||||
return ""
|
||||
}
|
||||
if (extruderItem.valueError)
|
||||
{
|
||||
return catalog.i18nc("@tooltip", "The configuration of this extruder is not allowed, and prohibits slicing.")
|
||||
|
@ -120,7 +124,7 @@ Cura.ExpandablePopup
|
|||
width: UM.Theme.getSize("icon_indicator").width
|
||||
height: UM.Theme.getSize("icon_indicator").height
|
||||
|
||||
visible: extruderItem.valueError || extruderItem.valueWarning
|
||||
visible: model.enabled && (extruderItem.valueError || extruderItem.valueWarning)
|
||||
|
||||
source:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue