mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-05-27 17:51:42 +00:00
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…
x
Reference in New Issue
Block a user