--- a/messagingapp/msgui/unifiededitor/src/msgunieditormonitor.cpp Wed Jun 23 18:09:17 2010 +0300
+++ b/messagingapp/msgui/unifiededitor/src/msgunieditormonitor.cpp Tue Jul 06 14:12:40 2010 +0300
@@ -117,6 +117,7 @@
HbWidget* senderWidget = qobject_cast<HbWidget*>(sender());
updateMsgInfo(senderWidget);
+ updateSend();
}
//---------------------------------------------------------------
@@ -329,4 +330,21 @@
return false;
}
+//---------------------------------------------------------------
+// MsgUnifiedEditorMonitor::updateSend
+// @see header file
+//---------------------------------------------------------------
+void MsgUnifiedEditorMonitor::updateSend()
+{
+ if (mMsgCurrAddressCount > 0 && (mSubjectSize + mBodySize + mContainerSize) > 0 && !view()->mBody->isImageResizing())
+ {
+ emit enableSend(true);
+ }
+ else
+ {
+ emit enableSend(false);
+ }
+}
+
+
//EOF