mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:55:54 +08:00
Do not show the "Request Access" button when no printer is connected
CURA-2277
This commit is contained in:
parent
00c328bfe9
commit
cf2c3e79cf
@ -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…
x
Reference in New Issue
Block a user