For WStringPreviewPanel, always pull English strings instead of whatever happens to be the first language (English isn't always first)

This commit is contained in:
parax0 2015-09-06 13:58:18 -06:00
parent 2690e79f95
commit f3ff394361
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ void WStringPreviewPanel::SetResource(CResource *pRes)
for (u32 iStr = 0; iStr < pString->GetStringCount(); iStr++) for (u32 iStr = 0; iStr < pString->GetStringCount(); iStr++)
{ {
QString text = QString::fromStdWString(pString->GetString(0, iStr)); QString text = QString::fromStdWString(pString->GetString("ENGL", iStr));
QLabel *pLabel = new QLabel(text, this); QLabel *pLabel = new QLabel(text, this);
pLabel->setWordWrap(true); pLabel->setWordWrap(true);
pLabel->setFrameStyle(QFrame::Plain | QFrame::Box); pLabel->setFrameStyle(QFrame::Plain | QFrame::Box);