2
0
mirror of https://github.com/rivo/tview.git synced 2024-11-11 01:10:41 +00:00

[#1004] fix: change the method doc comment

This commit is contained in:
Alexey Savchuk 2024-08-04 17:00:24 +03:00
parent 0f4bf9609c
commit 799e99ce22
No known key found for this signature in database

View File

@ -450,8 +450,8 @@ func (t *TreeView) SetSelectedFunc(handler func(node *TreeNode)) *TreeView {
return t
}
// GetSelectedFunc returns the function set with SetSelectedFunc() or nil
// if no such function has been set.
// GetSelectedFunc returns the function set with [TreeView.SetSelectedFunc]
// or nil if no such function has been set.
func (t *TreeView) GetSelectedFunc() func(node *TreeNode) {
return t.selected
}