-
-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TreeView.SetChangedFunc passes previous instead of current node #564
Comments
Could you please post some code that illustrates this? I'm having trouble reproducing this. |
|
@rivo where you able to reproduce the issue with the example above? |
@rivo have just confirmed that using the latest version of tview seems to work.
|
Ok, well, if it works now, that's good. Thanks for getting back to me. |
TreeView.SetChangedFunc passes previous instead of current node. In addition running TreeView.GetCurrentNode inside the call back also return the previous node.
I'm suspecting this issue was introduce in: #489 since reverting to a804878 (commit before said PR was merged) "fixes" the issue.
The text was updated successfully, but these errors were encountered: