DeleteAlarmView: reset all_selected flag 13/103713/1
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Fri, 9 Dec 2016 07:57:21 +0000 (08:57 +0100)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Fri, 9 Dec 2016 07:57:21 +0000 (08:57 +0100)
The all_selected flag was not reset (set to false),
between subsequent pushes of page, so on second launch
the select all check box may still be selected.

Change-Id: I6766f560aac140ae62a75d1a513f31f119c50665

clock/src/View/DeleteAlarmView.cpp

index f8a8a45..3c225fc 100644 (file)
@@ -139,6 +139,7 @@ void DeleteAlarmView::CreateContent(Evas_Object *parent)
        elm_object_item_part_content_set(navi_item_, "title_right_btn", right_btn_);
        elm_object_item_content_set(navi_item_, content_);
 
+       all_selected_ = false;
        CreateSelectAllItem();
 }