creating the input panel accidently fixed

This commit is contained in:
Uwe Rathmann 2018-06-04 10:20:52 +02:00
parent 9f78660f30
commit b17d8dcb68

View File

@ -412,8 +412,11 @@ bool QskInputContext::isActive() const
QLocale QskInputContext::locale() const
{
if ( auto panel = inputPanel() )
return panel->locale();
if ( m_data->inputEngine )
{
if ( auto panel = m_data->inputEngine->panel( false ) )
return panel->locale();
}
return QLocale();
}