From 1060abd924fdfa5854d15e21d7c3f8952afd35e2 Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 17 Jan 2013 17:40:43 +0000 Subject: [PATCH] IDE: added check git-svn-id: trunk@39875 - --- ide/main.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/ide/main.pp b/ide/main.pp index 5ffaca5cb2..f5109bb86f 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -10305,6 +10305,7 @@ begin GetCurrentUnit(SrcEdit,ActiveUnitInfo); if (jfAddJumpPoint in Flags) and (ActiveUnitInfo <> nil) and (SrcEdit <> nil) + and (SrcEdit.EditorComponent<>nil) then begin if (NewSource<>ActiveUnitInfo.Source) or (SrcEdit.EditorComponent.CaretX<>NewX)