mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
69379901ca
commit
5456ef6eba
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user