mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:39:23 +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
|
,Point(NewCodePos.X,NewCodePos.Y), NewTopLine, -1,-1
|
||||||
,[ofRegularFile,ofUseCache]) = mrOk)
|
,[ofRegularFile,ofUseCache]) = mrOk)
|
||||||
then
|
then
|
||||||
SrcEditor.EditorControl.SetFocus;
|
ActiveEditor.EditorControl.SetFocus;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
ShowMessage(Format(lisCannotFind, [cJumpNames[JumpType]]));
|
ShowMessage(Format(lisCannotFind, [cJumpNames[JumpType]]));
|
||||||
|
Loading…
Reference in New Issue
Block a user