mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
oops, be sure to set reconcile date ...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1286 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
cdf85f6d1e
commit
f93402c52c
@ -1641,9 +1641,16 @@ xaccSplitSetDocref (Split *split, const char *docs)
|
||||
void
|
||||
xaccSplitSetReconcile (Split *split, char recn)
|
||||
{
|
||||
struct timeval tv;
|
||||
|
||||
if (!split) return;
|
||||
split->reconciled = recn;
|
||||
MARK_SPLIT (split);
|
||||
|
||||
gettimeofday (&tv, NULL);
|
||||
split->date_reconciled.tv_sec = tv.tv_sec;
|
||||
split->date_reconciled.tv_nsec = 1000 * tv.tv_usec;
|
||||
|
||||
xaccAccountRecomputeBalance (split->acc);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user