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