diff options
author | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2018-08-13 12:50:50 +0300 |
---|---|---|
committer | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2018-08-13 12:50:50 +0300 |
commit | b1c073aab63ba5869b0cc9d6efad05ef09d15dcd (patch) | |
tree | a87452ed14be681dcc499e65e91ac1d763a1a64c /resources/qml/SidebarHeader.qml | |
parent | 98a0bb50025ba71739834a82ebebf48340ea39df (diff) |
CURA-5570 Expose the CuraSDKVersion to qml and show the buildplate
selector only when "dev" version is selected.
Diffstat (limited to 'resources/qml/SidebarHeader.qml')
-rw-r--r-- | resources/qml/SidebarHeader.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/SidebarHeader.qml b/resources/qml/SidebarHeader.qml index 4e8911b3c1..4bc0e8b2ef 100644 --- a/resources/qml/SidebarHeader.qml +++ b/resources/qml/SidebarHeader.qml @@ -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 { |