1
0
mirror of https://github.com/rivo/tview.git synced 2025-04-24 13:48:56 +08:00

Removed an unnecessary call to Focus() in Form. Fixes #612

This commit is contained in:
Oliver 2021-05-31 11:53:39 +02:00
parent 435b99e1df
commit 2003bc0698

View File

@ -632,7 +632,6 @@ func (f *Form) MouseHandler() func(action MouseAction, event *tcell.EventMouse,
if index >= 0 {
f.focusedElement = index
}
f.Focus(setFocus)
}
}()