[Gnucash-changes] r12038 - gnucash/trunk - Andreas Köhler's patch to prevent a patch when trying to edit a

David Hampton hampton at cvs.gnucash.org
Sat Nov 26 02:21:10 EST 2005


Author: hampton
Date: 2005-11-26 02:21:09 -0500 (Sat, 26 Nov 2005)
New Revision: 12038
Trac: http://svn.gnucash.org/trac/changeset/12038

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/business/dialog-tax-table/dialog-tax-table.c
Log:
Andreas Köhler's patch to prevent a patch when trying to edit a
non-existent tax table entry.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-11-26 07:02:09 UTC (rev 12037)
+++ gnucash/trunk/ChangeLog	2005-11-26 07:21:09 UTC (rev 12038)
@@ -1,5 +1,9 @@
 2005-11-25  David Hampton  <hampton at employees.org>
 
+	* src/business/dialog-tax-table/dialog-tax-table.c: Andreas
+	Köhler's patch to prevent a patch when trying to edit a
+	non-existent tax table entry.
+
 	* src/register/ledger-core/dialog-dup-trans.c:
 	* src/gnome/glade/register.glade: Fix the duplicate transaction
 	dialog so that the "Enter" key activates the dialog box.  Fixes

Modified: gnucash/trunk/src/business/dialog-tax-table/dialog-tax-table.c
===================================================================
--- gnucash/trunk/src/business/dialog-tax-table/dialog-tax-table.c	2005-11-26 07:02:09 UTC (rev 12037)
+++ gnucash/trunk/src/business/dialog-tax-table/dialog-tax-table.c	2005-11-26 07:21:09 UTC (rev 12038)
@@ -542,6 +542,7 @@
     gncTaxTableBeginEdit (ttw->current_table);
     gncTaxTableDestroy (ttw->current_table);
     ttw->current_table = NULL;
+    ttw->current_entry = NULL;
     gnc_resume_gui_refresh ();
   }
 }



More information about the gnucash-changes mailing list