Fixed automatic screen transition in movemail form while sending an email
[apps/native/preloaded/Email.git] / src / EmMailListForm.cpp
index 82600d2..23f136b 100755 (executable)
@@ -3157,7 +3157,7 @@ MailListForm::GetItemCount(void)
                height = __pAccountsListPanel->GetHeight() - (GENERIC_OFFSET_16);
        }
 
-       if (__mode == EDIT_MODE)
+       if (__mode == EDIT_MODE && height >= __pAccountsListPanel->GetHeight() - (GENERIC_OFFSET_16) - __pSelectedLabel->GetHeight())
        {
                height = height - __pSelectedLabel->GetHeight();
        }