forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user