diff options
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/settings/edit_folder.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc index 740c05ee5..36a4b28ba 100644 --- a/program/steps/settings/edit_folder.inc +++ b/program/steps/settings/edit_folder.inc @@ -134,7 +134,7 @@ function rcmail_folder_form($attrib) ); // Settings: threading - if ($threading_supported && !$options['noselect'] && !$options['is_root']) { + if ($threading_supported && ($mbox_imap == 'INBOX' || (!$options['noselect'] && !$options['is_root']))) { $select = new html_select(array('name' => '_viewmode', 'id' => '_listmode')); $select->add(rcube_label('list'), 0); $select->add(rcube_label('threads'), 1); @@ -191,7 +191,7 @@ function rcmail_folder_form($attrib) 'content' => array() ); - if (!$options['noselect'] && !$options['is_root']) { + if ((!$options['noselect'] && !$options['is_root']) || $mbox_imap == 'INBOX') { $msgcount = $RCMAIL->imap->messagecount($mbox_imap, 'ALL', true, false); // Size |