Skip to content

Commit

Permalink
Gui: [skip ci] clear language combo box when loading settings
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jan 17, 2020
1 parent 1a8df1a commit 298b1d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gui/DlgGeneralImp.cpp
Expand Up @@ -223,6 +223,7 @@ void DlgGeneralImp::loadSettings()

int index = 1;
TStringMap list = Translator::instance()->supportedLocales();
ui->Languages->clear();
ui->Languages->addItem(QString::fromLatin1("English"), QByteArray("English"));
for (TStringMap::iterator it = list.begin(); it != list.end(); ++it, index++) {
QByteArray lang = it->first.c_str();
Expand Down

0 comments on commit 298b1d4

Please sign in to comment.