r16773 - gnucash/trunk/src/gnome-utils - Do not set active element of GncAccountSel to the first sometimes.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Dec 30 14:59:07 EST 2007


Author: andi5
Date: 2007-12-30 14:59:06 -0500 (Sun, 30 Dec 2007)
New Revision: 16773
Trac: http://svn.gnucash.org/trac/changeset/16773

Modified:
   gnucash/trunk/src/gnome-utils/gnc-account-sel.c
Log:
Do not set active element of GncAccountSel to the first sometimes.

In gas_populate_list, the currently selected account is searched in
the new data, falling back to the first element in the list and
selecting it afterwards.  So, often "Assets" is activated, whereas the
filtering happening later does not deselect it in any way (the user
may have typed it in).

This patch simply removes the fallback to element 1.  To make the gas
look better, it may help to set it initially, like to an entry that
was used recently.




More information about the gnucash-patches mailing list