Browse Source

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

Jack Ha 7 years ago
parent
commit
4f224a4311
2 changed files with 1 additions and 1 deletions
  1. 1 0
      resources/qml/Menus/ViewMenu.qml
  2. 0 1
      resources/qml/ObjectsList.qml

+ 1 - 0
resources/qml/Menus/ViewMenu.qml

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

+ 0 - 1
resources/qml/ObjectsList.qml

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