1
0
mirror of https://github.com/rivo/tview.git synced 2025-04-28 13:48:53 +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 { if index >= 0 {
f.focusedElement = index f.focusedElement = index
} }
f.Focus(setFocus)
} }
}() }()