mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Disable menuItems if they aren't visible
This prevents the shortcuts from breaking
This commit is contained in:
parent
901f6c4b63
commit
288aeec2db
2 changed files with 3 additions and 1 deletions
|
|
@ -41,6 +41,7 @@ Cura.Menu
|
|||
}
|
||||
}
|
||||
shortcut: model.shortcut
|
||||
enabled: saveProjectMenu.shouldBeVisible
|
||||
}
|
||||
onObjectAdded: saveProjectMenu.insertItem(index, object)
|
||||
onObjectRemoved: saveProjectMenu.removeItem(object)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue