aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r--src/narrative_window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index 913d8da..6bed315 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -324,6 +324,8 @@ static void add_slide_sig(GSimpleAction *action, GVariant *parameter,
SCBlock *templ;
NarrativeWindow *nw = vp;
+ sc_editor_ensure_cursor(nw->sceditor);
+
/* Split the current paragraph */
nsblock = split_paragraph_at_cursor(nw->sceditor);