1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

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

View File

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