r15159 - gnucash/branches/gda-dev/src/gnome - Add begin_edit/commit_edit around where budget info is set from dialog
Phil Longstaff
plongstaff at cvs.gnucash.org
Tue Nov 28 11:24:44 EST 2006
Author: plongstaff
Date: 2006-11-28 11:24:43 -0500 (Tue, 28 Nov 2006)
New Revision: 15159
Trac: http://svn.gnucash.org/trac/changeset/15159
Modified:
gnucash/branches/gda-dev/src/gnome/gnc-plugin-page-budget.c
Log:
Add begin_edit/commit_edit around where budget info is set from dialog
Modified: gnucash/branches/gda-dev/src/gnome/gnc-plugin-page-budget.c
===================================================================
--- gnucash/branches/gda-dev/src/gnome/gnc-plugin-page-budget.c 2006-11-28 16:24:00 UTC (rev 15158)
+++ gnucash/branches/gda-dev/src/gnome/gnc-plugin-page-budget.c 2006-11-28 16:24:43 UTC (rev 15159)
@@ -737,6 +737,7 @@
return TRUE;
ENTER(" ");
+ gnc_budget_begin_edit();
name = gnc_dialog_get_string(d, "BudgetName");
if (name) {
gnc_budget_set_name(priv->budget, name);
@@ -756,6 +757,8 @@
r = gnc_recurrence_get(gr);
gnc_budget_set_recurrence(priv->budget, r);
+ gnc_budget_commit_edit();
+
LEAVE(" ");
return TRUE;
}
More information about the gnucash-changes
mailing list