Added confirm button
This commit is contained in:
@@ -23,6 +23,10 @@ func main () {
|
||||
deviceSelectorWindow.SetContent(container.NewVBox(
|
||||
widget.NewLabel("Please Select Serial Port"),
|
||||
portSelector,
|
||||
widget.NewButton("Confirm Select Device", func(){
|
||||
// Will be a package UI function to confirm device is ok
|
||||
fmt.Println("Device Confirmed")
|
||||
}),
|
||||
))
|
||||
deviceSelectorWindow.ShowAndRun()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user