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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-03-25 18:50:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-25 18:51:49 +0300
commit31bf6edf79999d59962bde34076f6ad20a9d1786 (patch)
tree9a3a268fcb3d9f2086f337a7655a8186baccde20 /source
parent977a4e7f5d001e62a9e09dd3a02dc2cb2329f893 (diff)
Text: line break always returned cancelled
Harmless but incorrect.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_text/text_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c
index 4f0d2c93970..f75cd129f67 100644
--- a/source/blender/editors/space_text/text_ops.c
+++ b/source/blender/editors/space_text/text_ops.c
@@ -961,7 +961,7 @@ static int text_line_break_exec(bContext *C, wmOperator *UNUSED(op))
text_update_cursor_moved(C);
WM_event_add_notifier(C, NC_TEXT | NA_EDITED, text);
- return OPERATOR_CANCELLED;
+ return OPERATOR_FINISHED;
}
void TEXT_OT_line_break(wmOperatorType *ot)