check cursor position to disable return key in case of focus-in event 61/17661/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Sun, 13 Oct 2013 23:31:14 +0000 (08:31 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 7 Mar 2014 09:38:20 +0000 (18:38 +0900)
Change-Id: I71b9652ef03f702edfcb62b7e1d5a2cbaee393ac

ism/demos/isf_return_key_disable_efl.cpp

index 542e4bc..131a6b0 100644 (file)
@@ -48,6 +48,7 @@ static Evas_Object *_create_ef_layout (Evas_Object *parent, const char *label, c
     elm_entry_input_panel_return_key_type_set (en, return_key_type);
 
     evas_object_smart_callback_add (en, "cursor,changed", _cursor_changed_cb, NULL);
+    evas_object_smart_callback_add (en, "focused", _cursor_changed_cb, NULL);
 
     return ef;
 }