[grisbi-cvs] grisbi/src gsb_account_property.c,1.12,1.13

Pierre Biava pbiava at users.sourceforge.net
Thu Dec 11 21:26:35 CET 2008


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

Modified Files:
	gsb_account_property.c 
Log Message:
modification pour sortir sans rien faire de gsb_account_property_changed si account_number = -1

Index: gsb_account_property.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/gsb_account_property.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- gsb_account_property.c	15 Nov 2008 22:05:26 -0000	1.12
+++ gsb_account_property.c	11 Dec 2008 20:26:33 -0000	1.13
@@ -572,6 +572,8 @@
     gint account_number;
 
     account_number = gsb_gui_navigation_get_current_account ();
+    if ( account_number == -1)
+        return FALSE;
 
     switch (origin)
     {



More information about the cvs mailing list