mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 15:29:02 +08:00
Merge branch 'feature_extruder_warning_icon' of https://github.com/fieldOfView/Cura into fieldOfView-feature_extruder_warning_icon
This commit is contained in:
commit
240e154be7
@ -93,6 +93,10 @@ Cura.ExpandablePopup
|
|||||||
targetPoint: Qt.point(Math.round(extruderIcon.width / 2), 0)
|
targetPoint: Qt.point(Math.round(extruderIcon.width / 2), 0)
|
||||||
text:
|
text:
|
||||||
{
|
{
|
||||||
|
if (!model.enabled)
|
||||||
|
{
|
||||||
|
return ""
|
||||||
|
}
|
||||||
if (extruderItem.valueError)
|
if (extruderItem.valueError)
|
||||||
{
|
{
|
||||||
return catalog.i18nc("@tooltip", "The configuration of this extruder is not allowed, and prohibits slicing.")
|
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
|
width: UM.Theme.getSize("icon_indicator").width
|
||||||
height: UM.Theme.getSize("icon_indicator").height
|
height: UM.Theme.getSize("icon_indicator").height
|
||||||
|
|
||||||
visible: extruderItem.valueError || extruderItem.valueWarning
|
visible: model.enabled && (extruderItem.valueError || extruderItem.valueWarning)
|
||||||
|
|
||||||
source:
|
source:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user