* Dont invalidate the tree in TVTHeader.SetHeight during loading

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@714 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2009-02-19 00:54:35 +00:00
parent 10672ff117
commit 216770d05a

View File

@ -9737,9 +9737,11 @@ begin
begin begin
FHeight := Value; FHeight := Value;
if not (csLoading in Treeview.ComponentState) then if not (csLoading in Treeview.ComponentState) then
begin
RecalculateHeader; RecalculateHeader;
Treeview.Invalidate; Treeview.Invalidate;
UpdateWindow(Treeview.Handle); UpdateWindow(Treeview.Handle);
end;
end; end;
end; end;