SourceEditor: Fix wrong editor shown when debugger steps-in / ProcessMsg during Tab-Change (related to new SrcEditorInterface)

git-svn-id: trunk@24086 -
This commit is contained in:
martin 2010-03-18 15:20:15 +00:00
parent 7699be6191
commit b7d83adbf2

View File

@ -3494,7 +3494,8 @@ end;
procedure TSourceEditor.Activate;
begin
if (FSourceNoteBook=nil) then exit;
FSourceNoteBook.SetActiveSE(Self);
if FSourceNoteBook.FUpdateLock = 0 then
FSourceNoteBook.SetActiveSE(Self);
end;
function TSourceEditor.PageIndex: integer;