diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index fcbb78bd2..c5ad31281 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -396,6 +396,10 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme onEditPrefs(); return true; } + case R.id.account_settings: { + onEditAccount(); + return true; + } case R.id.search: { mMessageListFragment.onSearchRequested(); return true; @@ -423,10 +427,6 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme } return true; } - case R.id.account_settings: { - onEditAccount(); - return true; - } case R.id.expunge: { mMessageListFragment.onExpunge(); return true; @@ -478,7 +478,7 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme menu.findItem(R.id.folder_settings).setVisible(false); menu.findItem(R.id.account_settings).setVisible(false); } else { - menu.findItem(R.id.folder_settings).setVisible(true); + menu.findItem(R.id.folder_settings).setVisible(mSingleFolderMode); menu.findItem(R.id.account_settings).setVisible(true); if (mMessageListFragment.isOutbox()) {