Wizards: Fix language string in .ts file

Fixes: QTCREATORBUG-25293
Change-Id: I6e0ed7d271d60e651bf7c0aacad36a2c8e0916ed
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
Christian Kandeler
2021-02-05 17:51:15 +01:00
parent 712d93e1c9
commit 9ddd354968

View File

@@ -145,7 +145,7 @@ bool TranslationWizardPage::validatePage()
{
const auto w = static_cast<JsonWizard *>(wizard());
w->setValue("TsFileName", tsBaseName().isEmpty() ? QString() : QString(tsBaseName() + ".ts"));
w->setValue("TsLanguage", m_fileNameLineEdit.text());
w->setValue("TsLanguage", m_languageComboBox.currentData().toString());
return true;
}