From aabcd71b727e912e38efc92a2061ff32e5b6852f Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Thu, 11 Apr 2019 14:17:10 +0200 Subject: [PATCH] Use the 'busy' property of the ActionButton Instead of creating a new BusyIndicator, use the existing one. Contributes to CURA-6435. --- resources/qml/WelcomePages/AddPrinterByIpContent.qml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/resources/qml/WelcomePages/AddPrinterByIpContent.qml b/resources/qml/WelcomePages/AddPrinterByIpContent.qml index 6b1e759fe6..293b8c4e81 100644 --- a/resources/qml/WelcomePages/AddPrinterByIpContent.qml +++ b/resources/qml/WelcomePages/AddPrinterByIpContent.qml @@ -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 {