mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fix subbaccount bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@252 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
2174495546
commit
2f3582ad4f
@ -2455,11 +2455,9 @@ closeRegWindow( Widget mw, XtPointer cd, XtPointer cb )
|
||||
freePopBox (regData->xfrmbox);
|
||||
freePopBox (regData->xtobox);
|
||||
|
||||
if (1 >= regData ->numAcc) {
|
||||
regData->blackacc[0]->regData = NULL;
|
||||
} else {
|
||||
regData->blackacc[0]->regLedger = NULL;
|
||||
}
|
||||
regData->blackacc[0]->regData = NULL;
|
||||
regData->blackacc[0]->regLedger = NULL;
|
||||
|
||||
ledgerListRemoveList (regData->blackacc, regData);
|
||||
_free(regData);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user