Configure whether preview shortcut is visible from ActionPanelWidget property

This way it's more dynamic: You don't need to hardcode the plug-in name in the widget to see whether or not it's visible.

Contributes to issue CURA-6086.
This commit is contained in:
Ghostkeeper 2019-02-04 15:19:09 +01:00
parent 5992e66ed6
commit a831cfa558
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
3 changed files with 12 additions and 2 deletions

View file

@ -25,5 +25,6 @@ Item
anchors.bottom: parent.bottom
anchors.rightMargin: UM.Theme.getSize("thick_margin").width
anchors.bottomMargin: UM.Theme.getSize("thick_margin").height
hasPreviewButton: false
}
}