mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 11:40:49 +02:00
check ColumnClick before raising OnColumnClick event from Matthijs
git-svn-id: trunk@8629 -
This commit is contained in:
parent
b94ba4e7fe
commit
586f9de0ca
@ -63,7 +63,7 @@ end;
|
||||
{------------------------------------------------------------------------------}
|
||||
procedure TCustomListView.ColClick(AColumn: TListColumn);
|
||||
begin
|
||||
if Assigned(FOnColumnClick) then FOnColumnClick(Self, AColumn)
|
||||
if Assigned(FOnColumnClick) and ColumnClick then FOnColumnClick(Self, AColumn)
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
|
Loading…
Reference in New Issue
Block a user