Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Prado Gesto <d.pradogesto@ultimaker.com>2018-08-13 12:50:50 +0300
committerDiego Prado Gesto <d.pradogesto@ultimaker.com>2018-08-13 12:50:50 +0300
commitb1c073aab63ba5869b0cc9d6efad05ef09d15dcd (patch)
treea87452ed14be681dcc499e65e91ac1d763a1a64c /resources/qml/SidebarHeader.qml
parent98a0bb50025ba71739834a82ebebf48340ea39df (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.qml4
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
{