Fix UI for Burmese language (#682)

* Fix UI for Burmese language
This commit is contained in:
Andrey Zaharow 2024-03-20 17:20:09 +02:00 committed by GitHub
parent 95bdae68f4
commit 0e83586cae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 18 additions and 7 deletions

View file

@ -81,6 +81,15 @@ int LanguageModel::getCurrentLanguageIndex()
}
}
int LanguageModel::getLineHeightAppend()
{
int langIndex = getCurrentLanguageIndex();
switch (langIndex) {
case 5: return 10; break; // Burmese
default: return 0; break;
}
}
QString LanguageModel::getCurrentLanguageName()
{
return m_availableLanguages[getCurrentLanguageIndex()].name;