You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixed code relying on SLATE_TEXT_ATTRIBUTE for SHeaderRow::FColumn
Made sure everything was using FText rather than FString. [CL 2370913 by Jamie Dale in Main branch]
This commit is contained in:
@@ -25,10 +25,10 @@ void SModuleUI::Construct(const SModuleUI::FArguments& InArgs)
|
||||
(
|
||||
SNew(SHeaderRow)
|
||||
+SHeaderRow::Column("ModuleName")
|
||||
.DefaultLabel(NSLOCTEXT("ModuleUI", "ModuleName", "Module").ToString())
|
||||
.DefaultLabel(NSLOCTEXT("ModuleUI", "ModuleName", "Module"))
|
||||
.FillWidth(200)
|
||||
+SHeaderRow::Column("ModuleActions")
|
||||
.DefaultLabel(NSLOCTEXT("ModuleUI", "ModuleActions", "Actions").ToString())
|
||||
.DefaultLabel(NSLOCTEXT("ModuleUI", "ModuleActions", "Actions"))
|
||||
.FillWidth(1000)
|
||||
)
|
||||
]
|
||||
@@ -77,7 +77,7 @@ TSharedRef<ITableRow> SModuleUI::OnGenerateWidgetForModuleListView(TSharedPtr< F
|
||||
{
|
||||
return
|
||||
SNew( STextBlock )
|
||||
.Text( Item->ModuleName.ToString() );
|
||||
.Text( FText::FromName(Item->ModuleName) );
|
||||
}
|
||||
else if ( ColumnName == "ModuleActions" )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user