Automatically start discovery

CURA-336
This commit is contained in:
fieldOfView 2016-06-27 10:32:56 +02:00
parent b48f4ff8a2
commit 0860fc6cf5

View File

@ -59,6 +59,7 @@ Cura.MachineAction
height: 500 height: 500
currentIndex: activeIndex currentIndex: activeIndex
onCurrentIndexChanged: base.selectedPrinter = listview.model[currentIndex] onCurrentIndexChanged: base.selectedPrinter = listview.model[currentIndex]
Component.onCompleted: manager.startDiscovery()
delegate: Rectangle delegate: Rectangle
{ {
height: childrenRect.height height: childrenRect.height
@ -142,11 +143,6 @@ Cura.MachineAction
} }
} }
} }
Button
{
text: catalog.i18nc("@label","Start looking!")
onClicked: manager.startDiscovery()
}
} }
Button Button
{ {