diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/org/fox/ttrss/HeadlinesActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/fox/ttrss/HeadlinesActivity.java b/src/org/fox/ttrss/HeadlinesActivity.java index e9e2439d..6d0af32b 100644 --- a/src/org/fox/ttrss/HeadlinesActivity.java +++ b/src/org/fox/ttrss/HeadlinesActivity.java @@ -201,7 +201,9 @@ public class HeadlinesActivity extends OnlineActivity implements HeadlinesEventL } else { HeadlinesFragment hf = (HeadlinesFragment) getSupportFragmentManager().findFragmentByTag(FRAG_HEADLINES); - hf.setActiveArticle(article); + if (hf != null) { + hf.setActiveArticle(article); + } } GlobalState.getInstance().m_activeArticle = article; |