creating the input panel accidently fixed
This commit is contained in:
parent
9f78660f30
commit
b17d8dcb68
|
@ -412,8 +412,11 @@ bool QskInputContext::isActive() const
|
||||||
|
|
||||||
QLocale QskInputContext::locale() const
|
QLocale QskInputContext::locale() const
|
||||||
{
|
{
|
||||||
if ( auto panel = inputPanel() )
|
if ( m_data->inputEngine )
|
||||||
return panel->locale();
|
{
|
||||||
|
if ( auto panel = m_data->inputEngine->panel( false ) )
|
||||||
|
return panel->locale();
|
||||||
|
}
|
||||||
|
|
||||||
return QLocale();
|
return QLocale();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue