1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Fixed issue 761

This commit is contained in:
Bao-Long Nguyen-Trong 2009-11-16 19:27:57 +00:00
parent 2c04ee6af6
commit 8557cefabc

View File

@ -982,6 +982,7 @@ public class MessageView extends K9Activity
return true;
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
getMenuInflater().inflate(R.menu.message_view_option, menu);
@ -997,7 +998,13 @@ public class MessageView extends K9Activity
}
return true;
}
@Override
public boolean onPrepareOptionsMenu(Menu menu) {
setMenuFlag();
return super.onPrepareOptionsMenu(menu);
}
private void setMenuFlag()
{
Menu menu = optionsMenu;