Simplify visible check for linkedSettings Icon

It was checking for a statement that is never True
This commit is contained in:
Jaime van Kessel 2019-10-25 15:36:49 +02:00
parent 27701f7653
commit 7f1cc84eb4
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -169,7 +169,7 @@ Item
{
id: linkedSettingIcon;
visible: Cura.MachineManager.activeStack !== Cura.MachineManager.activeMachine && (!definition.settable_per_extruder || String(globalPropertyProvider.properties.limit_to_extruder) != "-1") && base.showLinkedSettingIcon
visible: (!definition.settable_per_extruder || String(globalPropertyProvider.properties.limit_to_extruder) != "-1") && base.showLinkedSettingIcon
anchors.top: parent.top
anchors.bottom: parent.bottom