projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for cursor position when a void text is set.
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
text-controller-impl.cpp
diff --git
a/dali-toolkit/internal/text/text-controller-impl.cpp
b/dali-toolkit/internal/text/text-controller-impl.cpp
index
3da7138
..
7dd88e4
100644
(file)
--- a/
dali-toolkit/internal/text/text-controller-impl.cpp
+++ b/
dali-toolkit/internal/text/text-controller-impl.cpp
@@
-1709,7
+1709,7
@@
void Controller::Impl::UpdateCursorPosition()
return;
}
- if( IsShowingPlaceholderText() )
+ if( IsShowingPlaceholderText()
|| ( 0u == mLogicalModel->mText.Count() )
)
{
// Do not want to use the place-holder text to set the cursor position.