Bug of new year
This commit is contained in:
parent
3785a72613
commit
ed52d91a79
|
@ -661,6 +661,10 @@ bool Database::LoadOperation(User* user, const wxString& id)
|
|||
op.transfert = set.GetAsString(wxT("transfert"));
|
||||
op.formula = set.GetAsString(wxT("formula"));
|
||||
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();
|
||||
it != (*user->_operations[op.year])[op.month].end();
|
||||
it++)
|
||||
|
|
Loading…
Reference in New Issue
Block a user