Fix an error around translation of dive modes in the UI

This fixes an mistake introduced in
3d1072f886

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2018-06-16 16:30:03 +02:00 committed by Dirk Hohndel
parent 4ccc4d7329
commit 0bc9edf855
8 changed files with 14 additions and 14 deletions

View file

@ -83,7 +83,7 @@ void DiveTypeSelectionModel::repopulate()
{
QStringList modes = QStringList();
for (int i = 0; i < FREEDIVE; i++)
modes.append(QString(divemode_text[i]));
modes.append(QString(tr(divemode_text_ui[i])));
setStringList(modes);
}