CURA-4525 do not show build plate view item when disabled

This commit is contained in:
Jack Ha 2018-01-04 16:12:39 +01:00
parent 5e26ecb458
commit 4f224a4311
2 changed files with 1 additions and 1 deletions

View File

@ -50,6 +50,7 @@ Menu
{ {
id: buildPlateMenu; id: buildPlateMenu;
title: catalog.i18nc("@action:inmenu menubar:view","&Build plate"); title: catalog.i18nc("@action:inmenu menubar:view","&Build plate");
visible: UM.Preferences.getValue("cura/use_multi_build_plate")
Instantiator Instantiator
{ {
model: Cura.BuildPlateModel model: Cura.BuildPlateModel

View File

@ -231,7 +231,6 @@ Rectangle
tooltip: ''; tooltip: '';
anchors anchors
{ {
//top: buildPlateSelection.bottom;
topMargin: UM.Theme.getSize("default_margin").height; topMargin: UM.Theme.getSize("default_margin").height;
left: parent.left; left: parent.left;
leftMargin: UM.Theme.getSize("default_margin").height; leftMargin: UM.Theme.getSize("default_margin").height;