[grisbi-cvs] grisbi/src gsb_transactions_list.c,1.191,1.192

Pierre Biava pbiava at users.sourceforge.net
Wed Dec 30 19:35:29 CET 2009


Update of /cvsroot/grisbi/grisbi/src
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv17583

Modified Files:
	gsb_transactions_list.c 
Log Message:
fixed bug 815

Index: gsb_transactions_list.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_transactions_list.c,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -d -r1.191 -r1.192
--- gsb_transactions_list.c	26 Dec 2009 16:57:13 -0000	1.191
+++ gsb_transactions_list.c	30 Dec 2009 18:35:27 -0000	1.192
@@ -2368,10 +2368,13 @@
 {
     gint new_transaction_number;
 
-    if (! assert_selected_transaction()) return FALSE;
+    if (! assert_selected_transaction())
+        return FALSE;
 
-    new_transaction_number = gsb_transactions_list_clone_transaction (gsb_data_account_get_current_transaction_number (gsb_gui_navigation_get_current_account ()),
-								      0 );
+    new_transaction_number = gsb_transactions_list_clone_transaction (
+                        gsb_data_account_get_current_transaction_number (
+                        gsb_gui_navigation_get_current_account ()),
+                        0 );
 
     update_transaction_in_trees (new_transaction_number);
 
@@ -2470,6 +2473,9 @@
 	    list_tmp_transactions = list_tmp_transactions -> next;
 	}
     }
+    if ( etat.equilibrage )
+        transaction_list_show_toggle_mark (TRUE);
+
     return new_transaction_number;
 }
 



More information about the cvs mailing list