QskTextInput::setEditing fixed ( includes removing of MSVC incompatible

code )
This commit is contained in:
Uwe Rathmann 2018-09-28 07:30:56 +02:00
parent cb9649d186
commit 2e7c6c6676

View File

@ -570,15 +570,9 @@ void QskTextInput::setEditing( bool on )
qskInputMethodSetVisible( this, true ); qskInputMethodSetVisible( this, true );
} }
else else
{
auto d = QQuickTextInputPrivate::get( m_data->textInput );
const auto status = d->hasAcceptableInput( d->m_text );
if ( status == QQuickTextInputPrivate::AcceptableInput )
{ {
if ( fixup() ) if ( fixup() )
Q_EMIT m_data->textInput->editingFinished(); Q_EMIT m_data->textInput->editingFinished();
}
#if 0 #if 0
inputMethod->reset(); inputMethod->reset();