summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elm_code_widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c
index 8d824e415f..4a953e2130 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -713,7 +713,8 @@ _elm_code_widget_cursor_move(Elm_Code_Widget *widget, Elm_Code_Widget_Data *pd,
713 _elm_code_widget_refresh(widget, line_obj); 713 _elm_code_widget_refresh(widget, line_obj);
714 else 714 else
715 _elm_code_widget_fill_line(widget, pd, elm_code_file_line_get(pd->code->file, pd->cursor_line)); 715 _elm_code_widget_fill_line(widget, pd, elm_code_file_line_get(pd->code->file, pd->cursor_line));
716 elm_layout_signal_emit(pd->cursor_rect, "elm,action,show,cursor", "elm"); 716 if (pd->editable && pd->cursor_rect)
717 elm_layout_signal_emit(pd->cursor_rect, "elm,action,show,cursor", "elm");
717} 718}
718 719
719 720