mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 19:16:16 +02:00
LCL, grids: fix OnHeaderSized not called on DblClicked AutoSized column, patch from Janusz Tomczak, issue #31226
git-svn-id: trunk@53998 -
This commit is contained in:
parent
7723412ce7
commit
14660d80cd
@ -6545,8 +6545,10 @@ begin
|
||||
if (goDblClickAutoSize in Options) then begin
|
||||
OldWidth := ColWidths[FSizing.Index];
|
||||
AutoAdjustColumn( FSizing.Index );
|
||||
if OldWidth<>ColWidths[FSizing.Index] then
|
||||
if OldWidth<>ColWidths[FSizing.Index] then begin
|
||||
ChangeCursor;
|
||||
HeaderSized(True, FSizing.Index);
|
||||
end;
|
||||
end {else
|
||||
DebugLn('Got Doubleclick on Col Resizing: AutoAdjust?');}
|
||||
end else
|
||||
|
Loading…
Reference in New Issue
Block a user