Fix action bar items missing when opening new message.

Calling configureMenu() inside updateMenu() doesn't update the
buttons properly. Instead, call invalidateOptionsMenu(). This forces
the menu to be re-created, and onPreareOptionsMenu() to be called.
From there, configureMenu() is called automatically.
This commit is contained in:
m0viefreak 2013-02-04 17:18:23 +01:00
parent 7a5095a6aa
commit 7bcecf7060
1 changed files with 1 additions and 1 deletions

View File

@ -1347,7 +1347,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
@Override
public void updateMenu() {
configureMenu(mMenu);
invalidateOptionsMenu();
}
@Override