Text: line break always returned cancelled

Harmless but incorrect.
This commit is contained in:
2018-03-25 17:50:40 +02:00
parent 977a4e7f5d
commit 31bf6edf79

View File

@@ -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)