Hide the default cursor if a cursor item is available.
Change-Id: I9ef3350a60ddd355ab588c9cfb3256004ee4493e Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
This commit is contained in:
parent
5b83c3c27f
commit
5e6d1afb12
|
@ -1723,7 +1723,7 @@ QSGNode *QQuickTextInput::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData
|
|||
if (cursorNode != 0 && !isReadOnly()) {
|
||||
cursorNode->setRect(cursorRectangle());
|
||||
|
||||
if (!d->cursorVisible || (!d->m_blinkStatus && d->m_blinkPeriod > 0)) {
|
||||
if (!d->cursorVisible || d->cursorItem || (!d->m_blinkStatus && d->m_blinkPeriod > 0)) {
|
||||
d->hideCursor();
|
||||
} else {
|
||||
d->showCursor();
|
||||
|
|
Loading…
Reference in New Issue