mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
add trace hooks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1732 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
923874defa
commit
f2ab262f3f
@ -581,6 +581,7 @@ xaccSRLoadTransEntry (SplitRegister *reg, Split *split, int do_commit)
|
||||
/* don't even bother doing a load if there is no current cursor */
|
||||
if (!(reg->table->current_cursor)) return;
|
||||
|
||||
ENTER ("SRLoadTransEntry(): s=%p commit=%d\n", split, do_commit);
|
||||
if (!split) {
|
||||
/* we interpret a NULL split as a blank split */
|
||||
xaccSetDateCellValueSecs (reg->dateCell, 0);
|
||||
@ -686,6 +687,7 @@ xaccSRLoadTransEntry (SplitRegister *reg, Split *split, int do_commit)
|
||||
if (do_commit) {
|
||||
xaccCommitCursor (reg->table);
|
||||
}
|
||||
LEAVE("SRLoadTransEntry():\n");
|
||||
}
|
||||
|
||||
/* ======================================================== */
|
||||
|
Loading…
Reference in New Issue
Block a user