⬆️ Update dependencies
This commit is contained in:
@@ -149,11 +149,6 @@ func main() {
|
||||
},
|
||||
)
|
||||
|
||||
l.OnSelected = func(id widget.ListItemID) {
|
||||
currentId = id
|
||||
w.Canvas().Focus(e)
|
||||
}
|
||||
|
||||
e.OnChanged = func(s string) {
|
||||
m.Lock()
|
||||
if s == "" {
|
||||
@@ -173,6 +168,10 @@ func main() {
|
||||
}
|
||||
|
||||
l.Select(currentId)
|
||||
l.OnSelected = func(id widget.ListItemID) {
|
||||
currentId = id
|
||||
w.Canvas().Focus(e)
|
||||
}
|
||||
|
||||
w.SetContent(container.NewBorder(e, nil, nil, nil, l))
|
||||
w.Resize(fyne.NewSize(300, 300))
|
||||
|
||||
Reference in New Issue
Block a user