Business ledger: Don't leave the account cell if the user chooses not to create a new account when prompted. This allows any typo to be quickly fixed. Previously the account cell text was blanked and focus moved to the next cell.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17971 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Charles Day 2009-03-04 15:31:22 +00:00
parent 69379901ca
commit 5456ef6eba

View File

@ -337,8 +337,10 @@ static gboolean gnc_entry_ledger_traverse (VirtualLocation *p_new_virt_loc,
break;
/* Create the account if necessary. Also checks for a placeholder */
(void) gnc_entry_ledger_get_account_by_name (ledger, (BasicCell *)cell, cell->cell.value,
&ledger->full_refresh);
if (!gnc_entry_ledger_get_account_by_name (ledger, (BasicCell *) cell,
cell->cell.value,
&ledger->full_refresh))
return TRUE;
} while (FALSE);