[Tizen] Fix cursor position issue when only placeholder text show 57/190957/1 tizen_4.0_tv
authorxb.teng <xb.teng@samsung.com>
Wed, 10 Oct 2018 02:12:23 +0000 (10:12 +0800)
committerxb.teng <xb.teng@samsung.com>
Wed, 10 Oct 2018 02:12:23 +0000 (10:12 +0800)
Change-Id: I6f07179f537a72a8d050e66a1375fc6ee4b179d0

dali-toolkit/internal/text/text-controller-impl.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index fbfaf23..1fa0bef
@@ -1186,7 +1186,7 @@ float Controller::Impl::GetDefaultFontLineHeight()
 
 void Controller::Impl::OnCursorKeyEvent( const Event& event )
 {
-  if( NULL == mEventData )
+  if( NULL == mEventData || !IsShowingRealText() )
   {
     // Nothing to do if there is no text input.
     return;