SourceEditor: Ensure correct window is selected

git-svn-id: trunk@24295 -
This commit is contained in:
martin 2010-03-30 11:09:21 +00:00
parent 7160d8d160
commit cc46758fc0

View File

@ -2427,6 +2427,11 @@ Begin
//debugln('TSourceEditor.ProcessUserCommand A ',dbgs(Command));
Handled:=true;
if Manager.ActiveSourceWindow <> SourceNotebook then begin
debugln('Warning: ActiveSourceWindow is set incorrectly');
Manager.ActiveSourceWindow := SourceNotebook;
end;
case Command of
ecContextHelp: