mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
quickfill belongs in the gui, not in the account
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@431 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
76034f3d9f
commit
0a01561666
@ -80,7 +80,6 @@ mallocAccount( void )
|
|||||||
acc->adjBData = NULL;
|
acc->adjBData = NULL;
|
||||||
acc->editAccData = NULL;
|
acc->editAccData = NULL;
|
||||||
acc->editNotesData = NULL;
|
acc->editNotesData = NULL;
|
||||||
acc->qfRoot = mallocQuickFill();
|
|
||||||
|
|
||||||
return acc;
|
return acc;
|
||||||
}
|
}
|
||||||
@ -104,8 +103,6 @@ freeAccount( Account *acc )
|
|||||||
XtFree(acc->description);
|
XtFree(acc->description);
|
||||||
XtFree(acc->notes);
|
XtFree(acc->notes);
|
||||||
|
|
||||||
freeQuickFill(acc->qfRoot);
|
|
||||||
|
|
||||||
/* any split pointing at this account needs to be unmarked */
|
/* any split pointing at this account needs to be unmarked */
|
||||||
i=0;
|
i=0;
|
||||||
s = acc->splits[0];
|
s = acc->splits[0];
|
||||||
@ -239,7 +236,8 @@ xaccInsertSplit ( Account *acc, Split *split )
|
|||||||
|
|
||||||
_free(oldsplits);
|
_free(oldsplits);
|
||||||
|
|
||||||
qfInsertTransaction( acc->qfRoot, trans );
|
/* hack alert -- quickfill belong in gui */
|
||||||
|
/* qfInsertTransaction( acc->qfRoot, trans ); */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user