QskTextInput::setEditing fixed ( includes removing of MSVC incompatible
code )
This commit is contained in:
parent
cb9649d186
commit
2e7c6c6676
@ -571,14 +571,8 @@ void QskTextInput::setEditing( bool on )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
auto d = QQuickTextInputPrivate::get( m_data->textInput );
|
if ( fixup() )
|
||||||
|
Q_EMIT m_data->textInput->editingFinished();
|
||||||
const auto status = d->hasAcceptableInput( d->m_text );
|
|
||||||
if ( status == QQuickTextInputPrivate::AcceptableInput )
|
|
||||||
{
|
|
||||||
if ( fixup() )
|
|
||||||
Q_EMIT m_data->textInput->editingFinished();
|
|
||||||
}
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
inputMethod->reset();
|
inputMethod->reset();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user