mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix menuItem not hiding correctly
CURA-8693
This commit is contained in:
parent
b614cabae6
commit
38e20fd90b
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue