mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[PR #431] [MERGED] Allow changing current node and changing focus in treeview handlers #947
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#947
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rivo/tview/pull/431
Author: @millerlogic
Created: 4/17/2020
Status: ✅ Merged
Merged: 5/7/2020
Merged by: @rivo
Base:
master← Head:treeview-handlers📝 Commits (4)
77ccc1fAllow changing current node during handler7b79cb6Allow changing current node during handler089ac46Allow changing focus in handler591e235Also call node.selected on node click📊 Changes
1 file changed (+12 additions, -7 deletions)
View changed files
📝
treeview.go(+12 -7)📄 Description
Without this, SetCurrentNode(nil) in a handler is either ignored or panics on nil.
Also I'd like to change focus on selected.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.