diff options
author | Ian Thompson <quornian@googlemail.com> | 2008-08-10 20:07:14 +0400 |
---|---|---|
committer | Ian Thompson <quornian@googlemail.com> | 2008-08-10 20:07:14 +0400 |
commit | 5dad15441439065cbbe79c54edf0b2bdfab810dc (patch) | |
tree | 024fba6021a2728ca74eeea3fbd5472131806ad6 /source/blender/src/drawtext.c | |
parent | fb3a42d0f961bc575e3c56d0ad1c9ea46af4b2ed (diff) |
Fixed inconsistencies between the text plugins and them not suggesting when called from the menu.
Diffstat (limited to 'source/blender/src/drawtext.c')
-rw-r--r-- | source/blender/src/drawtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c index 7d1a17c6e65..997fb01cab8 100644 --- a/source/blender/src/drawtext.c +++ b/source/blender/src/drawtext.c @@ -2267,7 +2267,7 @@ static short do_texttools(SpaceText *st, char ascii, unsigned short evnt, short } if (tools & TOOL_DOCUMENT) texttool_docs_clear(), doc_scroll= 0, draw= 1; - } else if (val==1) { + } else if (val==1 && evnt) { switch (evnt) { case LEFTMOUSE: if (do_suggest_select(st)) |