mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 20:59:36 +02:00
fixed invalid typecast
git-svn-id: trunk@3732 -
This commit is contained in:
parent
00e65ab044
commit
eb74c0b02d
@ -435,7 +435,8 @@ var
|
||||
i: integer;
|
||||
begin
|
||||
inherited Notification(AComponent, Operation);
|
||||
if Operation = opRemove then begin
|
||||
if (Operation = opRemove)
|
||||
{$IFDEF SYN_LAZARUS}and (AComponent is TCustomSynEdit){$ENDIF} then begin
|
||||
i := fEditors.IndexOf(AComponent);
|
||||
if i > -1 then
|
||||
RemoveEditor(AComponent as TCustomSynEdit);
|
||||
|
Loading…
Reference in New Issue
Block a user