mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
When loading a budget, set the recurrence so that it has the correct date info.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17791 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4d80cc8d03
commit
333c9a68ec
@ -83,6 +83,8 @@ load_single_budget( GncSqlBackend* be, GncSqlRow* row )
|
||||
gnc_sql_load_object( be, row, GNC_ID_BUDGET, pBudget, col_table );
|
||||
r = g_new0( Recurrence, 1 );
|
||||
gnc_sql_recurrence_load( be, gnc_budget_get_guid( pBudget ), r );
|
||||
gnc_budget_set_recurrence( pBudget, r );
|
||||
g_free( r );
|
||||
gnc_budget_commit_edit( pBudget );
|
||||
|
||||
return pBudget;
|
||||
|
Loading…
Reference in New Issue
Block a user