From 351618c287e0567c28471c0433f5678a37182c1b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 11 Sep 2014 21:38:56 +0200 Subject: Fix frame creation --- src/mainwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.c b/src/mainwindow.c index c203736..62dbe98 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -1544,8 +1544,8 @@ static struct frame *create_frame(struct presentation *p, double x, double y, fr = add_subframe(parent); /* Add to SC */ - fr->scblocks = sc_block_append_inside(p->cur_edit_slide->scblocks, - "f", NULL, NULL); + fr->scblocks = sc_block_append_end(p->cur_edit_slide->scblocks, + "f", NULL, NULL); sc_block_set_frame(fr->scblocks, fr); sc_block_append_inside(fr->scblocks, NULL, NULL, strdup("")); -- cgit v1.2.3