mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/business/business-ledger/gncEntryLedgerControl.c:
Save the entry cells before adding an it to the invoice, otherwise it wont get sorted properly. Fixes #108910. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8159 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d634a00aec
commit
4798b3255b
@ -23,6 +23,10 @@
|
||||
Don't ask the user in the general case when making changes
|
||||
to entries. Generally the user should be allowed to make
|
||||
whatever changes they want without being pestered.
|
||||
|
||||
* src/business/business-ledger/gncEntryLedgerControl.c:
|
||||
Save the entry cells before adding an it to the invoice,
|
||||
otherwise it wont get sorted properly. Fixes #108910.
|
||||
|
||||
2003-04-01 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
|
@ -60,6 +60,8 @@ gnc_entry_ledger_save (GncEntryLedger *ledger, gboolean do_commit)
|
||||
if (!gncEntryIsOpen (entry))
|
||||
gncEntryBeginEdit (entry);
|
||||
|
||||
gnc_table_save_cells (ledger->table, entry);
|
||||
|
||||
if (entry == blank_entry) {
|
||||
Timespec ts;
|
||||
ts.tv_sec = time(NULL);
|
||||
@ -86,8 +88,6 @@ gnc_entry_ledger_save (GncEntryLedger *ledger, gboolean do_commit)
|
||||
}
|
||||
}
|
||||
|
||||
gnc_table_save_cells (ledger->table, entry);
|
||||
|
||||
if (entry == blank_entry) {
|
||||
if (do_commit) {
|
||||
ledger->blank_entry_guid = *xaccGUIDNULL ();
|
||||
|
Loading…
Reference in New Issue
Block a user