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:
Jamie Dale
2014-11-26 12:46:05 -05:00
committed by UnrealBot
parent 978c4a0b69
commit e856661aed
27 changed files with 125 additions and 123 deletions

View File

@@ -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" )
{