aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-04-14 17:48:25 +0200
committerThomas White <taw@bitwiz.me.uk>2019-04-14 17:48:25 +0200
commit71eed0c39d7e8713ba0605d61363acb643c6ead6 (patch)
tree8d0f927cab250a1bf2a9e85eb5a4bb44cc991b95
parentf655f3d96ecd149e25c456edfbf801618697c620 (diff)
Force redraw after adding slide title
-rw-r--r--src/slide_window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slide_window.c b/src/slide_window.c
index 24b91a0..4ddb130 100644
--- a/src/slide_window.c
+++ b/src/slide_window.c
@@ -57,6 +57,7 @@ static void insert_slidetitle_sig(GSimpleAction *action, GVariant *parameter,
char **text = malloc(sizeof(char *));
*text = strdup("Slide title");
slide_add_slidetitle(sw->slide, text, 1);
+ gtk_slide_view_set_slide(sw->sv, sw->slide);
}