Browse Source

Only show Machine Actions for the currently active machine

Many machine actions act on the currently active printer, because they don't have a pointer to the printer selected on the Printer manager.
fieldOfView 8 years ago
parent
commit
2c5644ff08
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/qml/Preferences/MachinesPage.qml

+ 1 - 0
resources/qml/Preferences/MachinesPage.qml

@@ -74,6 +74,7 @@ UM.ManagementPage
         Flow
         {
             id: machineActions
+            visible: currentItem && currentItem.id == Cura.MachineManager.activeMachineId
             anchors.left: parent.left
             anchors.right: parent.right
             anchors.top: machineName.bottom