mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Fix AV in table editor for clicking right besides a node in a "no column" whitespace
This commit is contained in:
@ -964,7 +964,7 @@ begin
|
||||
end else begin
|
||||
// All other cells go into edit mode please
|
||||
// Explicitely done on OnClick, not in OnFocusChanged which seemed annoying for keyboard users
|
||||
if Assigned(Click.HitNode) then
|
||||
if Assigned(Click.HitNode) and (Click.HitColumn > NoColumn) then
|
||||
VT.EditNode(Click.HitNode, Click.HitColumn);
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user