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,6 +3494,7 @@ end;
procedure TSourceEditor.Activate; procedure TSourceEditor.Activate;
begin begin
if (FSourceNoteBook=nil) then exit; if (FSourceNoteBook=nil) then exit;
if FSourceNoteBook.FUpdateLock = 0 then
FSourceNoteBook.SetActiveSE(Self); FSourceNoteBook.SetActiveSE(Self);
end; end;