mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 12:55:54 +08:00
Merge pull request #1 from Ultimaker/feature_autostart_discovery
Automatically start discovery
This commit is contained in:
commit
f55cdbb8eb
@ -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…
x
Reference in New Issue
Block a user