mirror of https://github.com/rivo/tview.git
Missed a call to process().
This commit is contained in:
parent
bb3fea967d
commit
5bc948d2ca
|
@ -374,6 +374,8 @@ func (t *TreeView) SetTopLevel(topLevel int) *TreeView {
|
||||||
//
|
//
|
||||||
// treeView.SetGraphics(false).
|
// treeView.SetGraphics(false).
|
||||||
// SetPrefixes([]string{"* ", "- ", "x "})
|
// SetPrefixes([]string{"* ", "- ", "x "})
|
||||||
|
//
|
||||||
|
// Deeper levels will cycle through the prefixes.
|
||||||
func (t *TreeView) SetPrefixes(prefixes []string) *TreeView {
|
func (t *TreeView) SetPrefixes(prefixes []string) *TreeView {
|
||||||
t.prefixes = prefixes
|
t.prefixes = prefixes
|
||||||
return t
|
return t
|
||||||
|
@ -449,6 +451,7 @@ func (t *TreeView) Move(offset int) *TreeView {
|
||||||
}
|
}
|
||||||
t.movement = treeMove
|
t.movement = treeMove
|
||||||
t.step = offset
|
t.step = offset
|
||||||
|
t.process(false)
|
||||||
return t
|
return t
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue