LCL: TListView: fix setting column width. Issue #32920

git-svn-id: trunk@56909 -
This commit is contained in:
ondrej 2018-01-01 20:48:32 +00:00
parent 12997708a7
commit 44d4157a28

View File

@ -178,7 +178,7 @@ begin
else
if (MaxWidth > 0) and (W > MaxWidth) then
W := MaxWidth;
if FWidth = W then Exit;
if Width = W then Exit; // compare with Width instead of FWidth - FWidth is not updated from the WS automatically
FWidth := W;
Changed(False);
if not WSUpdateAllowed then Exit;