diff --git a/ide/main.pp b/ide/main.pp index e306c6c50c..e922e08df2 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -15198,8 +15198,8 @@ begin LogCaret.X,LogCaret.Y, NewSource,NewX,NewY,NewTopLine,RevertableJump) then begin - Flags := [jfAddJumpPoint]; - if not RevertableJump then include(Flags, jfFocusEditor); + Flags := [jfFocusEditor]; + if not RevertableJump then include(Flags, jfAddJumpPoint); DoJumpToCodePosition(ActiveSrcEdit, ActiveUnitInfo, NewSource, NewX, NewY, NewTopLine, Flags); end else begin