You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if DragMode is dmAutomatic then the OnChange event is fired twice when clicking an already selected node, once with nil and then again with the clicked node. It makes no sense to clear the selection if the clicked node is already selected.
Repro steps:
Open the Advanced.dproj
Open the SpeedDemo unit
in the Virtual TreeView set DragMode to dmAutomatic
Set a brekapoint in TSpeedForm.VST1Change()
Click an already clicked node
=> The event is fired with Node == nil
The text was updated successfully, but these errors were encountered:
if
DragMode
isdmAutomatic
then theOnChange
event is fired twice when clicking an already selected node, once withnil
and then again with the clicked node. It makes no sense to clear the selection if the clicked node is already selected.Repro steps:
Advanced.dproj
SpeedDemo
unitDragMode
todmAutomatic
TSpeedForm.VST1Change()
Node == nil
The text was updated successfully, but these errors were encountered: