Fix for N_SE-52174,N_SE-52311
authorGaurav Bhatt <gaurav.bhatt@samsung.com>
Fri, 13 Sep 2013 13:28:13 +0000 (18:58 +0530)
committerGaurav Bhatt <gaurav.bhatt@samsung.com>
Fri, 13 Sep 2013 13:28:13 +0000 (18:58 +0530)
Change-Id: I1608fc602ca59dcc99923ec8f89f00a7102ade87
Signed-off-by: Gaurav Bhatt <gaurav.bhatt@samsung.com>
src/ClEventDetailsForm.cpp
src/ClRepeatForm.cpp

index 7ac1fd8..4aebda9 100644 (file)
@@ -331,7 +331,7 @@ EventDetailsForm::OnFormBackRequested(Form& source)
 float
 EventDetailsForm::GetSavetoItemHeight() const
 {
-       return (__itemHeight - (Y_SAVE_TO_ITEM_CALENDAR_NAME*2) - H_SAVE_TO_ITEM_CALENDAR_NAME);
+       return (__itemHeight - (Y_SAVE_TO_ITEM_CALENDAR_NAME) - H_SAVE_TO_ITEM_CALENDAR_NAME);
 }
 
 int
index c2f137e..8e2a5ac 100644 (file)
@@ -249,6 +249,8 @@ RepeatForm::OnFormBackRequested(Form& source)
        LinkedList* pList = new (std::nothrow) LinkedList();
        pList->Add(__pRepeat);
        __pRepeat = null;
+       // RefreshItem is called as DeleteItem() is not being called from here
+       __pTableView->RefreshItem(GROUP_REPEAT_UNTIL_TYPE, -1, TABLE_VIEW_REFRESH_TYPE_ITEM_REMOVE);
        SceneManager::GetInstance()->GoBackward(BackwardSceneTransition(SCENE_TRANSITION_ANIMATION_TYPE_RIGHT), pList);
 }