Make it possible to disable ExpandableComponent

It won't show the drop-down icon then, won't do hovers and won't allow you to click on it. This will not remove the contents of the ExpandableComponent menu bar item though, so that has to be done in ConfigurationMenu.qml.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-12-06 13:52:57 +01:00
parent f1fec2f280
commit 1e69960464
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
2 changed files with 4 additions and 1 deletions

View file

@ -45,6 +45,7 @@ Cura.ExpandableComponent
orientation: ListView.Horizontal
anchors.fill: parent
model: extrudersModel
visible: base.enabled
delegate: Item
{