aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-11-06 00:03:21 +0100
committerThomas White <taw@bitwiz.org.uk>2012-11-06 00:03:21 +0100
commit536e6f9eb2fa5d4b0560f7d88da8ae0acc881ef8 (patch)
tree8cad32d575836dc0298993a453992f2c10546fd9 /src/mainwindow.c
parent5e3ff44338005f0b9783993e67c6395dcf5c9768 (diff)
Re-render slide after adding object
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index a5fdf8b..7b8ffb8 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -538,6 +538,8 @@ static gint add_furniture(GtkWidget *widget, struct presentation *p)
layout_frame(p->cur_edit_slide->top, p->slide_width, p->slide_height,
p->pc);
set_selection(p, fr);
+ rerender_slide(p, p->pc);
+ redraw(p);
return 0;
}