mirror of https://github.com/rivo/tview.git
[#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
|
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…
Reference in New Issue