diff --git a/Source/NSTextView.m b/Source/NSTextView.m index 9df3a9696..99421f984 100644 --- a/Source/NSTextView.m +++ b/Source/NSTextView.m @@ -2064,7 +2064,7 @@ afterString in order over charRange. */ startPoint = [self convertPoint: [theEvent locationInWindow] fromView: nil]; startIndex = [self characterIndexForPoint: startPoint]; - if (_tf.imports_graphics == YES) + if ([_textStorage containsAttachments]) { NSTextAttachment *attachment;