mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 23:38:59 +08:00
CURA-4870 Disable the connect button in the discovery list when the
printer is not a host of printers.
This commit is contained in:
parent
1bde7a6228
commit
ae094c8201
@ -303,7 +303,7 @@ Cura.MachineAction
|
||||
Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button", "Connect")
|
||||
enabled: (base.selectedDevice && base.completeProperties) ? true : false
|
||||
enabled: (base.selectedDevice && base.completeProperties && base.selectedDevice.clusterSize > 0) ? true : false
|
||||
onClicked: connectToPrinter()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user