Re-render after annotation has been added

This commit is contained in:
Moritz Lipp 2012-05-04 01:57:57 +02:00
parent 5012443ea4
commit 312392acc8

View file

@ -809,6 +809,9 @@ cb_menu_annotation_add(GtkMenuItem* item, ZathuraPage* page)
girara_list_free(priv->annotations.list); girara_list_free(priv->annotations.list);
priv->annotations.list = zathura_page_get_annotations(priv->page, NULL); priv->annotations.list = zathura_page_get_annotations(priv->page, NULL);
priv->annotations.retrieved = true; priv->annotations.retrieved = true;
/* redraw */
render_page(priv->zathura->sync.render_thread, priv->page);
} }
static void static void