mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Merge pull request #1 from Ultimaker/feature_autostart_discovery
Automatically start discovery
This commit is contained in:
commit
f55cdbb8eb
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue