r22263 - gnucash/trunk/src/business/business-gnome - Properly calculate amount to pay when post-to account is not the first

Geert Janssens gjanssens at code.gnucash.org
Mon Jul 9 13:54:24 EDT 2012


Author: gjanssens
Date: 2012-07-09 13:54:23 -0400 (Mon, 09 Jul 2012)
New Revision: 22263
Trac: http://svn.gnucash.org/trac/changeset/22263

Modified:
   gnucash/trunk/src/business/business-gnome/dialog-payment.c
Log:
Properly calculate amount to pay when post-to account is not the first
in the list when opening the payment dialog.

Modified: gnucash/trunk/src/business/business-gnome/dialog-payment.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/dialog-payment.c	2012-07-07 16:10:54 UTC (rev 22262)
+++ gnucash/trunk/src/business/business-gnome/dialog-payment.c	2012-07-09 17:54:23 UTC (rev 22263)
@@ -793,7 +793,7 @@
         {
             gchar *acct_string = gnc_account_get_full_name (postacct);
             gnc_cbwe_set_by_string(GTK_COMBO_BOX(pw->post_combo), acct_string);
-            gnc_payment_dialog_post_to_changed(pw);
+            gnc_payment_dialog_post_to_changed_cb (pw->post_combo, pw);
             g_free(acct_string);
         }
     }



More information about the gnucash-changes mailing list