aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/narrative_window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index 6f960c6..22517b4 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -158,6 +158,8 @@ static void delete_slide_sig(GSimpleAction *action, GVariant *parameter,
/* Full rerender */
sc_editor_set_scblock(nw->sceditor,
sc_editor_get_scblock(nw->sceditor));
+ nw->p->saved = 0;
+ update_titlebar(nw);
}
@@ -244,6 +246,8 @@ static void add_slide_sig(GSimpleAction *action, GVariant *parameter,
sc_editor_set_scblock(nw->sceditor,
sc_editor_get_scblock(nw->sceditor));
+ nw->p->saved = 0;
+ update_titlebar(nw);
}