It is better to test before commiting ...
This commit is contained in:
@@ -207,12 +207,7 @@ void SearchPanel::OnButtonSearch(wxCommandEvent& event)
|
||||
if (_category->IsChecked(i))
|
||||
categories.push_back(user->_categories[i].id);
|
||||
|
||||
if (_fix->IsItemEnabled(FIX_OP))
|
||||
fix = FIX_OP;
|
||||
if (_fix->IsItemEnabled(NON_FIX_OP))
|
||||
fix = NON_FIX_OP;
|
||||
else
|
||||
fix = BOTH;
|
||||
fix = _fix->GetSelection();
|
||||
|
||||
for(i=0; i<user->GetAccountsNumber(); i++)
|
||||
if (_account->IsChecked(i))
|
||||
|
||||
Reference in New Issue
Block a user