Save 24hour setting in both mode of "Auto" and "Manual" 57/107857/1 accepted/tizen_3.0.m2_tv tizen_3.0.m2 accepted/tizen/3.0.m2/tv/20170105.030122 accepted/tizen/3.0/tv/20170101.231909 submit/tizen_3.0.m2/20170104.093756 submit/tizen_3.0/20161230.074819
authorKiseok Chang <kiso.chang@samsung.com>
Fri, 30 Dec 2016 07:41:57 +0000 (16:41 +0900)
committerKiseok Chang <kiso.chang@samsung.com>
Fri, 30 Dec 2016 07:43:36 +0000 (16:43 +0900)
Change-Id: I5bfd956c5e884d78d6ac358cb8bebd8e2e4845be
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
src/view/system/view_clock.c

index 24d1b70..020513a 100755 (executable)
@@ -667,15 +667,16 @@ static void _done_mouse_cb(int id, void *data, Evas_Object *obj)
                return;
        }
 
+       if (elm_check_state_get(priv->check_24)) {/*24h*/
+               settings_clock_set_24h(true);
+       } else {/*12h*/
+               settings_clock_set_24h(false);
+       }
+
        if (priv->cur_type == TYPE_AUTO) {
                settings_clock_set_time_automatic(true);
        } else {
                settings_clock_set_time_automatic(false);
-               if (elm_check_state_get(priv->check_24)) {/*24h*/
-                       settings_clock_set_24h(true);
-               } else {/*12h*/
-                       settings_clock_set_24h(false);
-               }
                _get_time_from_controls(&current_time, priv);
                if (!settings_clock_set_current_time(&current_time))
                        _ERR("Date and time set error");