Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2010-08-13 00:42:06 +0400
committerDalai Felinto <dfelinto@gmail.com>2010-08-13 00:42:06 +0400
commit6317a0006b19d36b44ec95d9dd6c50d1264c0e37 (patch)
tree124c1ffad74273c841cf892349afdb2663db2101
parent76e1773548fcacc2cec5a9fc5fcc84e6a47ea93c (diff)
Fix for [#23286] Text Editor: Cursor not changing shape when insert key is pressed. Patch by Justin Dailey (dail)
-rw-r--r--source/blender/editors/space_text/text_ops.c2
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;
}