mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Revert "Bug 796248 - Editing Scheduled Transaction"
This reverts commit ffe6044cd6
.
It breaks loading splits on transactions that have already
been loaded.
This commit is contained in:
parent
696277bbf6
commit
f144a8deb7
@ -292,12 +292,12 @@ load_single_tx (GncSqlBackend* sql_be, GncSqlRow& row)
|
||||
if (guid == NULL) return NULL;
|
||||
tx_guid = *guid;
|
||||
|
||||
/* Don't overwrite the transaction if it's already been loaded (and possibly
|
||||
* modified).
|
||||
*/
|
||||
// Don't overwrite the transaction if it's already been loaded (and possibly modified).
|
||||
// However increase the edit level, it may be modified while loading its splits
|
||||
pTx = xaccTransLookup (&tx_guid, sql_be->book());
|
||||
if (pTx != NULL)
|
||||
{
|
||||
xaccTransBeginEdit (pTx);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user