Fix crash issue about item_style in elm_naviframe_item_push
[platform/core/uifw/inputdelegator.git] / src / w-input-keyboard.cpp
index 0bfa13f..52051a6 100755 (executable)
@@ -134,7 +134,10 @@ void create_fullscreen_editor(void *data)
        evas_object_resize(ad->naviframe, 360, 360);
        evas_object_show(ad->naviframe);
 
-       Elm_Object_Item *nf_item = elm_naviframe_item_push(ad->naviframe, NULL, NULL, NULL, box, "empty");
+       const char *item_style = NULL;
+       if (_WEARABLE)
+               item_style = "empty";
+       Elm_Object_Item *nf_item = elm_naviframe_item_push(ad->naviframe, NULL, NULL, NULL, box, item_style);
        elm_naviframe_item_pop_cb_set(nf_item, custom_back_cb, NULL);
 }