mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-25 23:43:17 +02:00
IdeIntf: procedure DoAfterComponentAdded does not need to be virtual. Formatting.
This commit is contained in:
parent
ecdb59db7c
commit
fa711164a9
@ -276,7 +276,7 @@ type
|
||||
procedure SetSelectedComp(AComponent: TRegisteredComponent; AMulti: Boolean);
|
||||
// Registered handlers
|
||||
procedure DoAfterComponentAdded(ALookupRoot, AComponent: TComponent;
|
||||
ARegisteredComponent: TRegisteredComponent); virtual;
|
||||
ARegisteredComponent: TRegisteredComponent);
|
||||
procedure DoAfterSelectionChanged;
|
||||
procedure DoAfterUpdate;
|
||||
procedure RemoveAllHandlersOfObject(AnObject: TObject);
|
||||
|
@ -13430,10 +13430,10 @@ begin
|
||||
AComponent.ClassName, ' not registered');
|
||||
exit;
|
||||
end;
|
||||
//debugln('TMainIDE.PropHookPersistentAdded B ',AComponent.Name,':',AComponent.ClassName);
|
||||
//DebugLn('TMainIDE.PropHookPersistentAdded B ',AComponent.Name,':',AComponent.ClassName);
|
||||
// set component into design mode
|
||||
SetDesigning(AComponent,true);
|
||||
//debugln('TMainIDE.PropHookPersistentAdded C ',AComponent.Name,':',AComponent.ClassName);
|
||||
//DebugLn('TMainIDE.PropHookPersistentAdded C ',AComponent.Name,':',AComponent.ClassName);
|
||||
// add to source
|
||||
FComponentAddedDesigner:=FindRootDesigner(AComponent) as TDesigner;
|
||||
if FComponentAddedDesigner<>nil then
|
||||
@ -13467,7 +13467,7 @@ begin
|
||||
// Update Object Inspector
|
||||
if ObjectInspector1<>nil then // Moving this to Idle handler somehow removes
|
||||
ObjectInspector1.FillComponentList(False); // selection of pasted components!
|
||||
//debugln('TMainIDE.PropHookPersistentAdded END ',dbgsName(APersistent),' Select=',Select);
|
||||
//DebugLn(['TMainIDE.PropHookPersistentAdded END ',dbgsName(APersistent),' Select=',Select]);
|
||||
end;
|
||||
|
||||
procedure TMainIDE.PropHookPersistentDeleting(APersistent: TPersistent);
|
||||
|
Loading…
Reference in New Issue
Block a user