Fix a bug in search (absolute amounts) and remove automatic dating for new fix operation
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user