Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-10-26 15:11:15 +02:00
commit 1d754ba44b

View file

@ -151,6 +151,9 @@ public class QuickSearchListAdapter extends ArrayAdapter<QuickSearchListItem> {
} }
public void addListItem(QuickSearchListItem item) { public void addListItem(QuickSearchListItem item) {
if (searchMoreItemPosition != -1 && item instanceof QuickSearchMoreListItem) {
return;
}
setNotifyOnChange(false); setNotifyOnChange(false);
add(item); add(item);
acquireAdditionalItemsPositions(); acquireAdditionalItemsPositions();