Commit 273dfcd
committed
Fix OnChange event with post nil if the note is the same
I’m submitting a fix for the OnChange event, which incorrectly set the node to nil when clicking on an already selected node.
This behavior is incorrect. The event should always provide the node being switched to; otherwise, nil would mean that no node is selected at all. Moreover, this worked differently in earlier versions of VT, where the parameter was never nil.1 parent 8afd48e commit 273dfcd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12607 | 12607 | | |
12608 | 12608 | | |
12609 | 12609 | | |
12610 | | - | |
| 12610 | + | |
12611 | 12611 | | |
12612 | 12612 | | |
12613 | 12613 | | |
| |||
0 commit comments