Fix a bug : Sub operations were not removed from database when deleting meta operation

This commit is contained in:
Grégory Soutadé 2017-02-05 10:02:08 +01:00
parent f3a66790d0
commit 533442b874
1 changed files with 5 additions and 0 deletions

View File

@ -701,6 +701,11 @@ int GridAccount::RemoveMeta(Operation op, int line, bool removeRoot, bool delete
RemoveRow(op2, line+1, deleteOp);
deletedOperations++;
}
else
{
if (deleteOp)
DeleteOperation(op2);
}
}
}