mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-15 05:43:16 +08:00
fix visibility check
CURA-9424
This commit is contained in:
parent
25ecb0e621
commit
1764c338a0
@ -125,6 +125,7 @@ UM.Dialog
|
||||
|
||||
comboboxTitle: catalog.i18nc("@action:label", "Open With")
|
||||
comboboxTooltipText: catalog.i18nc("@info:tooltip", "How should the conflict in the machine be resolved?")
|
||||
comboboxVisible: workspaceDialog.visible && manager.updatableMachinesModel.count > 1
|
||||
combobox: Cura.ComboBox
|
||||
{
|
||||
id: machineResolveComboBox
|
||||
@ -261,6 +262,7 @@ UM.Dialog
|
||||
|
||||
comboboxTitle: catalog.i18nc("@action:label", "Open With")
|
||||
comboboxTooltipText: catalog.i18nc("@info:tooltip", "How should the conflict in the profile be resolved?")
|
||||
comboboxVisible: manager.qualityChangesConflict
|
||||
combobox: Cura.ComboBox
|
||||
{
|
||||
id: qualityChangesResolveComboBox
|
||||
@ -315,6 +317,7 @@ UM.Dialog
|
||||
|
||||
comboboxTitle: catalog.i18nc("@action:label", "Open With")
|
||||
comboboxTooltipText: catalog.i18nc("@info:tooltip", "How should the conflict in the material be resolved?")
|
||||
comboboxVisible: manager.materialConflict
|
||||
|
||||
combobox: Cura.ComboBox
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ Item
|
||||
height: visible ? UM.Theme.getSize("default_margin").height : 0
|
||||
anchors.top: parent.top
|
||||
anchors.right: parent.right
|
||||
visible: combobox.visible
|
||||
visible: comboboxVisible
|
||||
text: comboboxTooltipText
|
||||
|
||||
UM.Label
|
||||
@ -39,7 +39,7 @@ Item
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.bottomMargin: UM.Theme.getSize("default_margin").height
|
||||
visible: combobox.visible
|
||||
visible: comboboxVisible
|
||||
text: ""
|
||||
font: UM.Theme.getFont("default_bold")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user