mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Do not show the "Request Access" button when no printer is connected
CURA-2277
This commit is contained in:
parent
00c328bfe9
commit
cf2c3e79cf
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ Item
|
|||
text: catalog.i18nc("@action:button", "Request Access")
|
||||
style: UM.Theme.styles.sidebar_action_button
|
||||
onClicked: Cura.MachineManager.printerOutputDevices[0].requestAuthentication()
|
||||
visible: !base.printerAcceptsCommands && !base.authenticationRequested
|
||||
visible: printerConnected && !base.printerAcceptsCommands && !base.authenticationRequested
|
||||
}
|
||||
|
||||
Button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue