diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2010-08-13 00:42:06 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2010-08-13 00:42:06 +0400 |
commit | 6317a0006b19d36b44ec95d9dd6c50d1264c0e37 (patch) | |
tree | 124c1ffad74273c841cf892349afdb2663db2101 /source/blender | |
parent | 76e1773548fcacc2cec5a9fc5fcc84e6a47ea93c (diff) |
Fix for [#23286] Text Editor: Cursor not changing shape when insert key is pressed. Patch by Justin Dailey (dail)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_text/text_ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c index 0e0a9592104..d39056c6bbc 100644 --- a/source/blender/editors/space_text/text_ops.c +++ b/source/blender/editors/space_text/text_ops.c @@ -1709,6 +1709,8 @@ static int toggle_overwrite_exec(bContext *C, wmOperator *op) st->overwrite= !st->overwrite; + WM_event_add_notifier(C, NC_TEXT|ND_CURSOR, st->text); + return OPERATOR_FINISHED; } |