Bug of new year
This commit is contained in:
parent
6317511fd8
commit
c527fad756
|
@ -661,6 +661,10 @@ bool Database::LoadOperation(User* user, const wxString& id)
|
||||||
op.transfert = set.GetAsString(wxT("transfert"));
|
op.transfert = set.GetAsString(wxT("transfert"));
|
||||||
op.formula = set.GetAsString(wxT("formula"));
|
op.formula = set.GetAsString(wxT("formula"));
|
||||||
op.meta = set.GetBool(wxT("meta"));
|
op.meta = set.GetBool(wxT("meta"));
|
||||||
|
|
||||||
|
if (!user->_operations[op.year])
|
||||||
|
user->_operations[op.year] = new std::map<unsigned int, std::vector<Operation> >();
|
||||||
|
|
||||||
for (it = (*user->_operations[op.year])[op.month].begin();
|
for (it = (*user->_operations[op.year])[op.month].begin();
|
||||||
it != (*user->_operations[op.year])[op.month].end();
|
it != (*user->_operations[op.year])[op.month].end();
|
||||||
it++)
|
it++)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user