[Lazarus] ObjectInspector FCurrentEdit.Invalidate
Sandro Cumerlato
sandro.cumerlato at gmail.com
Sun Nov 23 19:43:12 CET 2014
Please review attached patch.
- ChangeBounds calls Invalidate itself.
Please apply if OK, thanx.
Sandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20141123/f3cd0f17/attachment-0002.html>
-------------- next part --------------
Index: components/ideintf/objectinspector.pp
===================================================================
--- components/ideintf/objectinspector.pp (revisione 46974)
+++ components/ideintf/objectinspector.pp (copia locale)
@@ -2631,10 +2631,7 @@
end;
//debugln('TOICustomPropertyGrid.AlignEditComponents A ',dbgsName(FCurrentEdit),' ',dbgs(EditCompRect));
if not CompareTopLeft(FCurrentEdit.BoundsRect,EditCompRect) then
- begin
FCurrentEdit.BoundsRect:=EditCompRect;
- FCurrentEdit.Invalidate;
- end;
end;
end;
end;
More information about the Lazarus
mailing list