From 6488994dfa335c384a24642d854bd9474c54446a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 25 Nov 2011 14:38:12 +0300 Subject: [PATCH] fix closeArticle updating menu before setting m_selectedArticle to null --- src/org/fox/ttrss/MainActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/fox/ttrss/MainActivity.java b/src/org/fox/ttrss/MainActivity.java index d9501c4f..a91958c8 100644 --- a/src/org/fox/ttrss/MainActivity.java +++ b/src/org/fox/ttrss/MainActivity.java @@ -251,10 +251,10 @@ public class MainActivity extends Activity implements FeedsFragment.OnFeedSelect findViewById(R.id.article_fragment).setVisibility(View.GONE); findViewById(R.id.feeds_fragment).setVisibility(View.VISIBLE); + m_selectedArticle = null; + initMainMenu(); refreshFeeds(); - - m_selectedArticle = null; } private void initMainMenu() {