Menu

#14 _editFlag not reset, causes crash - easy fix.

open
nobody
None
5
2007-11-06
2007-11-06
No

If the user clicks on an already-selected node and then hits F2 before the edit starts via the timer, the beginEditByUser() function is called twice. This is because _NodeTextBox._editFlag isn't being reset and the timer event handler calls the function again.

The result is that when the edit is finished a NullReferenceException is thrown in BindableControl.GetMemberAdapter().

Thanks again for this great control.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.