[#1004] fix: change the method doc comment

pull/1007/head
Alexey Savchuk 2 months ago
parent 0f4bf9609c
commit 799e99ce22
No known key found for this signature in database

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

Loading…
Cancel
Save