mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
1 changed files with 1 additions and 11 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue