diff options
author | Thomas White <taw@bitwiz.org.uk> | 2017-01-16 23:05:17 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2017-01-16 23:05:17 +0100 |
commit | d6afe0601a4d3e35ab492074b7fcde5bfec70875 (patch) | |
tree | c03fe19c6f15f1cf68bcdc3f1957413f88c052b4 | |
parent | 4fc663655ff4a8ea990d7e4f4b7580cf63e233c4 (diff) |
Add/delete slide = presentation changed
-rw-r--r-- | src/narrative_window.c | 4 |
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); } |