From a428bf49f4c4f4b744e8be64decd31abd03560de 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 9376909070..4bc815d334 100644 --- a/resources/qml/WelcomePages/AddPrinterByIpContent.qml +++ b/resources/qml/WelcomePages/AddPrinterByIpContent.qml @@ -106,17 +106,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 {