mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:39:02 +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);
|
||||
}
|
||||
}
|
||||
|
||||
BusyIndicator
|
||||
{
|
||||
anchors.fill: parent
|
||||
running:
|
||||
{
|
||||
! parent.enabled &&
|
||||
! addPrinterByIpScreen.hasSentRequest &&
|
||||
! addPrinterByIpScreen.haveConnection
|
||||
}
|
||||
}
|
||||
busy: !enabled && !addPrinterByIpScreen.hasSentRequest && !addPrinterByIpScreen.haveConnection
|
||||
|
||||
Connections
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user