IDE: Prevent focusing invisible window in Goto-Implementation. Issue #28339, patch from Ondrej Pokorny.

git-svn-id: trunk@49426 -
This commit is contained in:
juha 2015-06-24 08:41:07 +00:00
parent e5230eb26e
commit 795eed89a4

View File

@ -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]]));