mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 05:29:01 +08:00
Fix menuItem not hiding correctly
CURA-8693
This commit is contained in:
parent
b614cabae6
commit
38e20fd90b
@ -43,6 +43,7 @@ Menu
|
|||||||
shortcut: StandardKey.Save
|
shortcut: StandardKey.Save
|
||||||
text: catalog.i18nc("@title:menu menubar:file", "&Save Project...")
|
text: catalog.i18nc("@title:menu menubar:file", "&Save Project...")
|
||||||
visible: saveProjectMenu.model.count == 1
|
visible: saveProjectMenu.model.count == 1
|
||||||
|
height: visible ? implicitHeight : 0
|
||||||
enabled: UM.WorkspaceFileHandler.enabled
|
enabled: UM.WorkspaceFileHandler.enabled
|
||||||
onTriggered:
|
onTriggered:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user