mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-22 10:21:39 -07:00
CURA-5570 Expose the CuraSDKVersion to qml and show the buildplate
selector only when "dev" version is selected.
This commit is contained in:
parent
98a0bb5002
commit
b1c073aab6
3 changed files with 7 additions and 5 deletions
|
|
@ -476,8 +476,8 @@ Column
|
|||
{
|
||||
id: buildplateRow
|
||||
height: UM.Theme.getSize("sidebar_setup").height
|
||||
// TODO Temporary hidden, add back again when feature ready
|
||||
visible: false //Cura.MachineManager.hasVariantBuildplates && !sidebar.hideSettings
|
||||
// TODO Only show in dev mode. Remove check when feature ready
|
||||
visible: CuraSDKVersion == "dev" ? Cura.MachineManager.hasVariantBuildplates && !sidebar.hideSettings : false
|
||||
|
||||
anchors
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue