Browse Source

Do not show the "Request Access" button when no printer is connected

CURA-2277
fieldOfView 8 years ago
parent
commit
cf2c3e79cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UM3InfoComponents.qml

+ 1 - 1
UM3InfoComponents.qml

@@ -28,7 +28,7 @@ Item
             text: catalog.i18nc("@action:button", "Request Access")
             text: catalog.i18nc("@action:button", "Request Access")
             style: UM.Theme.styles.sidebar_action_button
             style: UM.Theme.styles.sidebar_action_button
             onClicked: Cura.MachineManager.printerOutputDevices[0].requestAuthentication()
             onClicked: Cura.MachineManager.printerOutputDevices[0].requestAuthentication()
-            visible: !base.printerAcceptsCommands && !base.authenticationRequested
+            visible: printerConnected && !base.printerAcceptsCommands && !base.authenticationRequested
         }
         }
 
 
         Button
         Button