Skip to content

Commit f52a2c1

Browse files
author
David
committed
Missed non-FProperty update from Support4.25 pull request patched in.
1 parent e23c956 commit f52a2c1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Source/UnrealEnginePython/Private/Slate/UEPySTextBlock.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ static PyObject *py_ue_stext_block_set_text(ue_PySTextBlock *self, PyObject * ar
1111
return nullptr;
1212
}
1313

14+
#if ENGINE_MINOR_VERSION < 25
1415
py_STextBlock->SetText(FString(UTF8_TO_TCHAR(text)));
16+
#else
17+
py_STextBlock->SetText(FText::FromString(FString(UTF8_TO_TCHAR(text))));
18+
#endif
1519

1620
Py_RETURN_SLATE_SELF;
1721
}

0 commit comments

Comments
 (0)