Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit d762a847 authored by g4m4's avatar g4m4
Browse files

[CODE] Fix non editor build

parent 40bde60c
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ bool UFixItSettings::SaveCredentials(const FString& NewLogin, const FString& New
return true;
}
#if WITH_EDITOR
void UFixItSettings::PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent)
{
UFixItSettings* Instance = GetMutableDefault<UFixItSettings>();
......@@ -68,6 +69,7 @@ void UFixItSettings::PostEditChangeProperty(struct FPropertyChangedEvent& Proper
}
UFixItSettings::CopyToInternal(Instance);
}
#endif // WITH_EDITOR
void UFixItSettings::SetInternal(fixit::Settings* InternalSettings)
{
......
......@@ -81,7 +81,9 @@ public:
virtual FName GetContainerName() const override { return FName("Project"); }
virtual FName GetCategoryName() const override { return FName("Plugins"); }
virtual FName GetSectionName() const override { return FName("FixIt"); }
#if WITH_EDITOR
virtual void PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent) override;
#endif // WITH_EDITOR
// End UDeveloperSettings interface
void SetInternal(fixit::Settings* InternalSettings);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment