mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-12 03:02:38 +02:00
SourceEditor: Activate Window, before sending notification
git-svn-id: trunk@24246 -
This commit is contained in:
parent
ac6443ca7f
commit
10df69f897
@ -8010,11 +8010,11 @@ begin
|
||||
for i := 1 to FUpdateLock do
|
||||
Result.IncUpdateLock;
|
||||
FSourceWindowList.Add(Result);
|
||||
FChangeNotifyLists[semWindowCreate].CallNotifyEvents(Result);
|
||||
if Activate then begin
|
||||
ActiveSourceWindow := Result;
|
||||
ShowActiveWindowOnTop(False);
|
||||
end;
|
||||
FChangeNotifyLists[semWindowCreate].CallNotifyEvents(Result);
|
||||
end;
|
||||
|
||||
procedure TSourceEditorManager.RemoveWindow(AWindow: TSourceNotebook);
|
||||
|
Loading…
Reference in New Issue
Block a user