mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-12 09:00:37 +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);
|
Exclude(FStates,pgsApplyingValue);
|
||||||
end;
|
end;
|
||||||
if FPropertyEditorHook=nil then
|
if FPropertyEditorHook=nil then
|
||||||
DoPaint(true)
|
Invalidate
|
||||||
else
|
else
|
||||||
FPropertyEditorHook.RefreshPropertyValues;
|
FPropertyEditorHook.RefreshPropertyValues;
|
||||||
//DebugLn(['TOICustomPropertyGrid.SetRowValue ',CurRow.Name,' ',CurRow.Editor.GetVisualValue,' ',Assigned(FOnModified)]);
|
//DebugLn(['TOICustomPropertyGrid.SetRowValue ',CurRow.Name,' ',CurRow.Editor.GetVisualValue,' ',Assigned(FOnModified)]);
|
||||||
@ -1391,7 +1391,7 @@ begin
|
|||||||
RefreshValueEdit;
|
RefreshValueEdit;
|
||||||
|
|
||||||
//invalidate changed subproperties
|
//invalidate changed subproperties
|
||||||
DoPaint(True);
|
Invalidate;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -2793,7 +2793,7 @@ end;
|
|||||||
procedure TOICustomPropertyGrid.RefreshPropertyValues;
|
procedure TOICustomPropertyGrid.RefreshPropertyValues;
|
||||||
begin
|
begin
|
||||||
RefreshValueEdit;
|
RefreshValueEdit;
|
||||||
DoPaint(true);
|
Invalidate;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TOICustomPropertyGrid.ScrollToActiveItem;
|
procedure TOICustomPropertyGrid.ScrollToActiveItem;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user