SourceEditor: Activate Window, before sending notification

git-svn-id: trunk@24246 -
This commit is contained in:
martin 2010-03-27 12:17:39 +00:00
parent ac6443ca7f
commit 10df69f897

View File

@ -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);