mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Embedded: Fix ability to change language back to English
This commit is contained in:
parent
b34d2a54af
commit
a4fb8293ed
1 changed files with 1 additions and 0 deletions
|
@ -1115,6 +1115,7 @@ void ImageWriter::changeLanguage(const QString &newLanguageName)
|
||||||
if (trans->load(":/i18n/rpi-imager_"+langcode+".qm"))
|
if (trans->load(":/i18n/rpi-imager_"+langcode+".qm"))
|
||||||
{
|
{
|
||||||
replaceTranslator(trans);
|
replaceTranslator(trans);
|
||||||
|
_currentLang = newLanguageName;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue