You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira #rb none #ROBOMERGE-SOURCE: CL 11610730 in //UE4/Release-4.25/... via CL 11610736 #ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v655-11596533) [CL 11610747 by jamie dale in Main branch]
25 lines
728 B
C++
25 lines
728 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#include "TranslationUnit.h"
|
|
#include "UObject/UnrealType.h"
|
|
|
|
UTranslationUnit::UTranslationUnit( const FObjectInitializer& ObjectInitializer )
|
|
: Super(ObjectInitializer)
|
|
{
|
|
|
|
}
|
|
|
|
void UTranslationUnit::PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent)
|
|
{
|
|
Super::PostEditChangeProperty(PropertyChangedEvent);
|
|
|
|
const FName Name = (PropertyChangedEvent.Property != nullptr) ? PropertyChangedEvent.Property->GetFName() : NAME_None;
|
|
|
|
if (Name == GET_MEMBER_NAME_CHECKED(UTranslationUnit, Translation))
|
|
{
|
|
// Consider modifying the translation to be an implicit review
|
|
HasBeenReviewed = true;
|
|
}
|
|
|
|
TranslationUnitPropertyChangedEvent.Broadcast(Name);
|
|
}
|