From 796e1a434cf415d014b317b5c8a0301011f94dcb Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sun, 13 Jan 2013 21:07:41 -0800 Subject: Fix the menu not being displayed even after album is finished loading --- .../src/github/daneren2005/dsub/activity/SelectAlbumActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subsonic-android/src/github/daneren2005') diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java index 08b7804f..142e284e 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/SelectAlbumActivity.java @@ -681,12 +681,12 @@ public class SelectAlbumActivity extends SubsonicTabActivity { } } else { hideButtons = true; - invalidateOptionsMenu(); } emptyView.setVisibility(entries.isEmpty() ? View.VISIBLE : View.GONE); entryList.setAdapter(new EntryAdapter(SelectAlbumActivity.this, getImageLoader(), entries, true)); licenseValid = result.getSecond(); + invalidateOptionsMenu(); boolean playAll = getIntent().getBooleanExtra(Constants.INTENT_EXTRA_NAME_AUTOPLAY, false); if (playAll && songCount > 0) { -- cgit v1.2.3