mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-10 16:18:07 +01:00
IDEIntf: objectinspector: fixed painting outside paint event
git-svn-id: trunk@37634 -
This commit is contained in:
parent
b6a92e67e4
commit
b1e9846595
@ -1341,7 +1341,7 @@ begin
|
||||
Exclude(FStates,pgsApplyingValue);
|
||||
end;
|
||||
if FPropertyEditorHook=nil then
|
||||
DoPaint(true)
|
||||
Invalidate
|
||||
else
|
||||
FPropertyEditorHook.RefreshPropertyValues;
|
||||
//DebugLn(['TOICustomPropertyGrid.SetRowValue ',CurRow.Name,' ',CurRow.Editor.GetVisualValue,' ',Assigned(FOnModified)]);
|
||||
@ -1391,7 +1391,7 @@ begin
|
||||
RefreshValueEdit;
|
||||
|
||||
//invalidate changed subproperties
|
||||
DoPaint(True);
|
||||
Invalidate;
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -2793,7 +2793,7 @@ end;
|
||||
procedure TOICustomPropertyGrid.RefreshPropertyValues;
|
||||
begin
|
||||
RefreshValueEdit;
|
||||
DoPaint(true);
|
||||
Invalidate;
|
||||
end;
|
||||
|
||||
procedure TOICustomPropertyGrid.ScrollToActiveItem;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user