Merge branch 'anatoly_dev' of github.com:Sankore/Sankore-3.1 into anatoly_dev

preferencesAboutTextFull
Ilia Ryabokon 12 years ago
commit 1596b37896
  1. 5
      src/gui/UBKeyboardPalette.cpp

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

Loading…
Cancel
Save