mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-06 13:24:55 +01:00
Re-render after annotation has been added
This commit is contained in:
parent
5012443ea4
commit
312392acc8
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue