Change-Id: Iea750762a2408e67239843a333add9df4cce4077
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
if(prepare(*cmd))
{
Conversation *conv = getTopFrame<Conversation>();
- if(!conv)
+ if(conv)
+ {
+ promote(*conv);
+ }
+ else
{
conv = new Conversation(*this);
push(*conv);
void NaviFrameView::promote(NaviFrameItem &item)
{
- bool isTop = &item != getTopFrame();
+ bool isTop = &item == getTopFrame();
if(!isTop)
{
m_TransitionStatus = true;
free(markupText);
}
}
+ else
+ {
+ clear();
+ }
}
void BodyView::setFocus(bool focus)
{
if(isDefferedCmd())
{
+ m_pBody->clear();
if(m_DefferedCmd.defaultCmd)
{ // If we came from notification menu and unread threads will be more than one, we should to go back on thread list view
if(m_DefferedCmd.defaultCmd->getDefaultType() == AppControlDefault::NotificationType && getMsgEngine().getStorage().getUnreadThreadCount() > 1)
{
- pop();
+ pop();
}
else
{ // Go to needed conversation