NABI_SE Issue Fix 45285 45321 45446 45336
[apps/osp/Contacts.git] / src / CtContactPresentationModel.cpp
index da1ea8b..63f233a 100644 (file)
@@ -1640,6 +1640,11 @@ ContactPresentationModel::SetEmail(DetailEmailType type, const Tizen::Base::Stri
 {
        result r = E_SUCCESS;
 
+       if (index==0)
+       {
+               __lastRemovedEmailIndex = -1;
+       }
+
        if (value.IsEmpty() == true)
        {
                r = __pContact->RemoveAt(CONTACT_MPROPERTY_ID_EMAILS, index);