Change-Id: Ieed00e4de5b4279b6da40fdce401d5454fad88a7
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
#include "MsgThread.h"
#include "Conversation.h"
#include "Logger.h"
+#include "PopupManager.h"
#include <memory>
#include <notification.h>
if(isLastFrame())
getApp().exit();
else
+ {
+ getApp().getPopupManager().reset();
NaviFrameView::pop(frame);
+ }
}
void NaviFrameController::destroy()
bool NaviFrameController::prepare(const AppControlCommand &cmd)
{
MSG_LOG("Execute app. control command: ", cmd.getOperationMsg());
-
std::string errorMsg;
if(!getMsgEngine().isReady(errorMsg))
{
void Conversation::execCmd(const AppControlComposeRef &cmd)
{
+ getApp().getPopupManager().reset();
if(!isRecipExists() && !isBodyEmpty() && m_Mode == NewMessageMode) // Check if we can save draft to avoid losing data
{
m_DefferedCmd.composeCmd = cmd;
return;
}
+ getApp().getPopupManager().reset();
MsgId msgId = cmd->getMessageId();
setThreadId(getMsgEngine().getStorage().getMessage(msgId)->getThreadId());
if(msgId.isValid())