[entry]: Fix to Show cursor handler after selection is gone
authorSubodhKumar <s7158.kumar@samsung.com>
Fri, 11 Nov 2016 09:44:03 +0000 (15:14 +0530)
committerJinYong Park <j4939.park@samsung.com>
Tue, 22 Nov 2016 10:46:58 +0000 (19:46 +0900)
@tizen_fix

Change-Id: Ib2a9f975f74efb730197e7cad1cb66f5c68ea367
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
src/lib/elm_entry.c

index 16b0c2a0317bfaf3b4cb61d35cbcbeb3d4d17d9e..9a6b467311259785c2d719a0cb8256aaac9d15d7 100644 (file)
@@ -3113,7 +3113,13 @@ _mouse_up_cb(void *data,
         if (ev->flags & EVAS_BUTTON_DOUBLE_CLICK) return;
         if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
         if (!_elm_config->desktop_entry && sd->have_selection && !sd->long_pressed)
-          elm_entry_select_none(data);
+          {
+             elm_entry_select_none(data);
+             _create_cursor_handler(data, sd);
+             _update_cursor_handler(data, sd);
+             evas_object_show(sd->cursor_handler);
+             sd->cursor_handler_shown = EINA_TRUE;
+          }
         //
         /* Since context menu disabled flag was checked at long press start while mouse
          * down, hence the same should be checked at mouse up from a long press