pressing the button of an itemlist item selected the wrong item if
'display only episodes' was turned on
This commit is contained in:
parent
3f8f9be652
commit
48f1cd2b3b
|
@ -189,7 +189,7 @@ public class ItemlistFragment extends SherlockListFragment implements
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
int index = getListView().getPositionForView(v);
|
int index = getListView().getPositionForView(v);
|
||||||
if (index != ListView.INVALID_POSITION) {
|
if (index != ListView.INVALID_POSITION) {
|
||||||
FeedItem newSelectedItem = items.get(index);
|
FeedItem newSelectedItem = fila.getItem(index);
|
||||||
if (newSelectedItem != selectedItem) {
|
if (newSelectedItem != selectedItem) {
|
||||||
if (mActionMode != null) {
|
if (mActionMode != null) {
|
||||||
mActionMode.finish();
|
mActionMode.finish();
|
||||||
|
|
Loading…
Reference in New Issue