Bug in previous commit
This commit is contained in:
@@ -225,7 +225,7 @@ void SearchPanel::OnButtonSearch(wxCommandEvent& event)
|
||||
|
||||
for(i=0; i<user->GetCategoriesNumber(); i++)
|
||||
if (_category->IsChecked(i))
|
||||
categories.push_back((i) ? user->_categories[i].id : wxT("0"));
|
||||
categories.push_back((i) ? user->_categories[i-1].id : wxT("0"));
|
||||
|
||||
types |= (_optype->IsChecked(0)) ? FIX_OP : 0;
|
||||
types |= (_optype->IsChecked(1)) ? NON_FIX_OP : 0;
|
||||
@@ -234,7 +234,7 @@ void SearchPanel::OnButtonSearch(wxCommandEvent& event)
|
||||
|
||||
for(i=0; i<user->GetAccountsNumber(); i++)
|
||||
if (_account->IsChecked(i))
|
||||
accounts.push_back((i) ? user->_accounts[i].id : wxT("0"));
|
||||
accounts.push_back((i) ? user->_accounts[i-1].id : wxT("0"));
|
||||
|
||||
if (_operations)
|
||||
delete _operations;
|
||||
|
||||
Reference in New Issue
Block a user