[Gnucash-changes] patch to crash reported in comment 20,
Linas Vepstas
linas at cvs.gnucash.org
Wed Jun 2 10:56:02 EDT 2004
Log Message:
-----------
patch to crash reported in comment 20,
http://bugzilla.gnome.org/show_bug.cgi?id=120028
** untested **
Modified Files:
--------------
gnucash/src/register/register-gnome:
combocell-gnome.c
Revision Data
-------------
Index: combocell-gnome.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/register/register-gnome/combocell-gnome.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -Lsrc/register/register-gnome/combocell-gnome.c -Lsrc/register/register-gnome/combocell-gnome.c -u -r1.13 -r1.14
--- src/register/register-gnome/combocell-gnome.c
+++ src/register/register-gnome/combocell-gnome.c
@@ -377,8 +377,11 @@
box = cell->cell.gui_private;
if (NULL == box) return;
- box->use_quickfill_cache = TRUE;
- gnc_quickfill_destroy (box->qf);
+ if (FALSE == box->use_quickfill_cache)
+ {
+ box->use_quickfill_cache = TRUE;
+ gnc_quickfill_destroy (box->qf);
+ }
box->qf = shared_qf;
}
More information about the gnucash-changes
mailing list