mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 16:39:26 +02:00
IDE: Prevent focusing invisible window in Goto-Implementation. Issue #28339, patch from Ondrej Pokorny.
git-svn-id: trunk@49426 -
This commit is contained in:
parent
e5230eb26e
commit
795eed89a4
@ -9618,7 +9618,7 @@ begin
|
||||
,Point(NewCodePos.X,NewCodePos.Y), NewTopLine, -1,-1
|
||||
,[ofRegularFile,ofUseCache]) = mrOk)
|
||||
then
|
||||
SrcEditor.EditorControl.SetFocus;
|
||||
ActiveEditor.EditorControl.SetFocus;
|
||||
end
|
||||
else
|
||||
ShowMessage(Format(lisCannotFind, [cJumpNames[JumpType]]));
|
||||
|
Loading…
Reference in New Issue
Block a user