Enclose book kvp manipulation in begin/commit_edit in aqbanking plugin.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19600 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2010-09-21 19:26:49 +00:00
parent 59820c823e
commit 334744d70f

View File

@ -134,8 +134,10 @@ gnc_ab_set_book_template_list(QofBook *b, GList *template_list)
{
kvp_frame *frame = gnc_ab_get_book_kvp(b, TRUE);
kvp_value *value = kvp_value_new_glist_nc(template_list);
qof_book_begin_edit(b);
kvp_frame_set_slot_nc(frame, AB_TEMPLATES, value);
qof_book_kvp_changed(b);
qof_book_mark_dirty(b);
qof_book_commit_edit(b);
}
static void