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

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

@ -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 );

Loading…
Cancel
Save