1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

Avoid NullPointerException

Fixes issue 4557
This commit is contained in:
cketti 2012-09-14 04:09:18 +02:00
parent 8018be3e16
commit ba0c530c7b

View File

@ -1791,7 +1791,9 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
private void onAddCcBcc() {
mCcWrapper.setVisibility(View.VISIBLE);
mBccWrapper.setVisibility(View.VISIBLE);
mMenu.findItem(R.id.add_cc_bcc).setVisible(false);
if (mMenu != null) {
mMenu.findItem(R.id.add_cc_bcc).setVisible(false);
}
}
private void onReadReceipt() {