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:
parent
0f4bf9609c
commit
799e99ce22
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user