Fix a bug : Search for previous operation failed
This commit is contained in:
parent
478728f69e
commit
d0b537d6c9
|
@ -733,6 +733,7 @@ void GridAccount::OnOperationModified(wxGridEvent& event)
|
||||||
!GetCellValue(row, ACCOUNT).Length() ||
|
!GetCellValue(row, ACCOUNT).Length() ||
|
||||||
!_canAddOperation))
|
!_canAddOperation))
|
||||||
{
|
{
|
||||||
|
new_op.fix_cost = (row <= _fixCosts);
|
||||||
if (_kiss->SearchPreviousOperation(&op_tmp, new_op, new_op.month, new_op.year, _canAddOperation))
|
if (_kiss->SearchPreviousOperation(&op_tmp, new_op, new_op.month, new_op.year, _canAddOperation))
|
||||||
{
|
{
|
||||||
new_op.category = op_tmp.category;
|
new_op.category = op_tmp.category;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user