[grisbi-cvs] grisbi/src gsb_data_transaction.c,1.64,1.65

Mickaƫl Remars mykeul at users.sourceforge.net
Thu Jun 11 23:13:33 CEST 2009


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26587

Modified Files:
	gsb_data_transaction.c 
Log Message:
Fix: balances were not updated when moving a transaction from one account to another one.

Index: gsb_data_transaction.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_data_transaction.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- gsb_data_transaction.c	10 Jun 2009 20:14:55 -0000	1.64
+++ gsb_data_transaction.c	11 Jun 2009 21:13:31 -0000	1.65
@@ -462,7 +462,9 @@
     if ( !transaction )
 	return FALSE;
 
+    gsb_data_account_set_balances_are_dirty ( transaction -> account_number );    
     transaction -> account_number = no_account;
+    gsb_data_account_set_balances_are_dirty ( no_account );
 
     /* if the transaction is a split, change all the children */
     if (transaction -> split_of_transaction)



More information about the cvs mailing list