Much work on input mode switching
This commit is contained in:
@@ -341,7 +341,11 @@ FString FWingProperty::GetText() const
|
||||
return TEXT("None");
|
||||
}
|
||||
FString Result;
|
||||
Prop->ExportTextItem_InContainer(Result, Container, nullptr, nullptr, PPF_None);
|
||||
// DefaultValue == PropertyValue makes ExportText_Direct's Data==Delta
|
||||
// short-circuit fire for every subfield, so default-valued fields still
|
||||
// get emitted (e.g. SizeRule=Automatic on FSlateChildSize).
|
||||
const void* Value = Prop->ContainerPtrToValuePtr<void>(Container);
|
||||
Prop->ExportTextItem_Direct(Result, Value, /*DefaultValue=*/Value, nullptr, PPF_None);
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user