Version 0.1 !

Correct a minor bug
This commit is contained in:
2010-11-14 14:22:18 +01:00
parent be267935ce
commit 3618a66f03
2 changed files with 2 additions and 2 deletions

View File

@@ -654,7 +654,7 @@ void GridAccount::OnOperationModified(wxGridEvent& event)
if (value.Length())
{
value.ToDouble(&new_op.amount);
new_op.amount *= -1.0;
if (new_op.amount != 0.0) new_op.amount *= -1.0;
op_complete--;
wxGridCellFormulaEditor* pEditor = (wxGridCellFormulaEditor*) GetCellEditor(row, DEBIT);
new_op.formula = pEditor->GetFormula();