mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 10:59:01 +08:00
Use the 'busy' property of the ActionButton
Instead of creating a new BusyIndicator, use the existing one. Contributes to CURA-6435.
This commit is contained in:
parent
96301842f2
commit
aabcd71b72
@ -107,17 +107,7 @@ Item
|
|||||||
UM.OutputDeviceManager.addManualDevice(hostnameField.text, hostnameField.text);
|
UM.OutputDeviceManager.addManualDevice(hostnameField.text, hostnameField.text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
busy: !enabled && !addPrinterByIpScreen.hasSentRequest && !addPrinterByIpScreen.haveConnection
|
||||||
BusyIndicator
|
|
||||||
{
|
|
||||||
anchors.fill: parent
|
|
||||||
running:
|
|
||||||
{
|
|
||||||
! parent.enabled &&
|
|
||||||
! addPrinterByIpScreen.hasSentRequest &&
|
|
||||||
! addPrinterByIpScreen.haveConnection
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Connections
|
Connections
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user