From bf6c6891c4cf91ebf87ff9046fd6fc4037cc86bd Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 22 Sep 2017 12:52:22 +0200 Subject: [PATCH] Don't display layer height before a printer is added Contributes to issue CURA-4357, somewhat. --- resources/qml/SidebarSimple.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/SidebarSimple.qml b/resources/qml/SidebarSimple.qml index cb6a0f2643..194c43bc55 100644 --- a/resources/qml/SidebarSimple.qml +++ b/resources/qml/SidebarSimple.qml @@ -166,7 +166,7 @@ Item anchors.top: parent.top anchors.topMargin: UM.Theme.getSize("sidebar_margin").height / 2 color: UM.Theme.getColor("text") - text: Cura.ProfilesModel.getItem(index).layer_height_without_unit + text: Cura.MachineManager.activeMachine != null ? Cura.ProfilesModel.getItem(index).layer_height_without_unit : "" width: 1 x: