mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:20:37 +00:00
Check if an attachment was clicked every time we have attachments, not
only if we import graphics git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11227 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2457806223
commit
e9f5fe627b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue