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
|
||||
{
|
||||
if ( auto panel = inputPanel() )
|
||||
return panel->locale();
|
||||
if ( m_data->inputEngine )
|
||||
{
|
||||
if ( auto panel = m_data->inputEngine->panel( false ) )
|
||||
return panel->locale();
|
||||
}
|
||||
|
||||
return QLocale();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user