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:
parent
2690e79f95
commit
f3ff394361
|
@ -38,7 +38,7 @@ void WStringPreviewPanel::SetResource(CResource *pRes)
|
|||
|
||||
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);
|
||||
pLabel->setWordWrap(true);
|
||||
pLabel->setFrameStyle(QFrame::Plain | QFrame::Box);
|
||||
|
|
Loading…
Reference in New Issue