mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 18:19:34 +02:00
SourceEditor: Ensure correct window is selected
git-svn-id: trunk@24295 -
This commit is contained in:
parent
7160d8d160
commit
cc46758fc0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user