aboutsummaryrefslogtreecommitdiff
path: root/src/tool_text.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-10-05 18:19:31 +0200
committerThomas White <taw@physics.org>2011-10-05 18:19:31 +0200
commitb6168920c4d90667d6d6099bf3d640fb7805d5a8 (patch)
tree55fbc7ae9deacf395720c03a41d91fbb86123a90 /src/tool_text.c
parent9be269610763b68cd3962a778ba9dd2ffabbb2d9 (diff)
Call update_text() when creating normal text as well
Diffstat (limited to 'src/tool_text.c')
-rw-r--r--src/tool_text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_text.c b/src/tool_text.c
index 2f5f274..a6a17d5 100644
--- a/src/tool_text.c
+++ b/src/tool_text.c
@@ -423,6 +423,7 @@ static void click_create(struct presentation *p, struct toolinfo *tip,
/* FIXME: Insert ESP here and possibly select a different style */
n = add_text_object(p->view_slide, x, y, p->ss->styles[0], ti);
+ update_text((struct text_object *)n);
p->editing_object = n;
}