|
|
@ -60,6 +60,9 @@ UBKeyboardPalette::UBKeyboardPalette(QWidget *parent) |
|
|
|
createCtrlButtons(); |
|
|
|
createCtrlButtons(); |
|
|
|
|
|
|
|
|
|
|
|
nCurrentLocale = UBSettings::settings()->KeyboardLocale->get().toInt(); |
|
|
|
nCurrentLocale = UBSettings::settings()->KeyboardLocale->get().toInt(); |
|
|
|
|
|
|
|
if (nCurrentLocale < 0 || nCurrentLocale >= nLocalesCount) |
|
|
|
|
|
|
|
nCurrentLocale = 0; |
|
|
|
|
|
|
|
if (locales!=NULL) |
|
|
|
setInput(locales[nCurrentLocale]); |
|
|
|
setInput(locales[nCurrentLocale]); |
|
|
|
|
|
|
|
|
|
|
|
setContentsMargins( 22, 22, 22, 22 ); |
|
|
|
setContentsMargins( 22, 22, 22, 22 ); |
|
|
|