Commit 44d4157a authored by ondrej's avatar ondrej
Browse files

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

git-svn-id: trunk@56909 -
parent 12997708
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment