Fix a bug in search (absolute amounts) and remove automatic dating for new fix operation

This commit is contained in:
2010-07-26 21:03:22 +02:00
parent cc70c0f804
commit 7e41063b42
3 changed files with 13 additions and 7 deletions

View File

@@ -139,6 +139,8 @@ void SearchPanel::OnButtonSearch(wxCommandEvent& event)
delete amountFrom;
return;
}
if (af < 0) af *= -1;
}
if (_amountTo->GetLineText(0) != wxT(""))
@@ -152,6 +154,8 @@ void SearchPanel::OnButtonSearch(wxCommandEvent& event)
delete amountTo;
return;
}
if (at < 0) at *= -1;
}
if (amountFrom && amountTo && af > at)