change order of statements
This commit is contained in:
parent
cf897d68ca
commit
724505ad69
1 changed files with 5 additions and 5 deletions
|
@ -656,11 +656,6 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
|
|||
showOnMapItem.setEnabled(amenityAdapter.getCount() > 0);
|
||||
}
|
||||
}
|
||||
// Issue #2667 (1)
|
||||
if (tChange != null) {
|
||||
changeFilter(tChange);
|
||||
tChange = null;
|
||||
}
|
||||
amenityAdapter.setNewModel(result);
|
||||
amenityAdapter.notifyDataSetChanged();
|
||||
lastSearchedLocation = searchLocation;
|
||||
|
@ -668,6 +663,11 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
|
|||
currentSearchTask = null;
|
||||
stopSearching = false;
|
||||
//Toast.makeText(SearchPOIActivity.this, "onPostExecute has run", Toast.LENGTH_SHORT).show();
|
||||
// Issue #2667 (1)
|
||||
if (tChange != null) {
|
||||
changeFilter(tChange);
|
||||
tChange = null;
|
||||
}
|
||||
updateButtonState(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue