do not process headlines onclick in combined mode

This commit is contained in:
Andrew Dolgov 2011-11-30 17:37:52 +03:00
parent 0fda7ffd7b
commit 4cf1ca7c57

View File

@ -131,7 +131,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
public void onItemClick(AdapterView<?> av, View view, int position, long id) { public void onItemClick(AdapterView<?> av, View view, int position, long id) {
ListView list = (ListView)av; ListView list = (ListView)av;
if (list != null) { if (list != null && !m_combinedMode) {
Article article = (Article)list.getItemAtPosition(position); Article article = (Article)list.getItemAtPosition(position);
if (article.id >= 0) { if (article.id >= 0) {
m_articleOps.openArticle(article, 0); m_articleOps.openArticle(article, 0);