# Properties edited in PostEditChangeProperty do not update details panel

**URL:** <https://forums.unrealengine.com/t/properties-edited-in-posteditchangeproperty-do-not-update-details-panel/391810>\
**Category:** Rendering\
**Tags:** details-panel, gameplay-tags, unreal-engine, question\
**Created:** [April 24, 2017, 9:06pm UTC](https://forums.unrealengine.com/t/properties-edited-in-posteditchangeproperty-do-not-update-details-panel/391810 "2017-04-24T21:06:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColdIronPoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ColdIronPoz](https://forums.unrealengine.com/u/ColdIronPoz)\
**Post date:** [April 24, 2017, 9:06pm UTC](https://forums.unrealengine.com/t/properties-edited-in-posteditchangeproperty-do-not-update-details-panel/391810/1 "2017-04-24T21:06:31Z")

</div>

We put some data validation in PostEditChangeProperty which fixes up a property when another property is modified. Basically, property B’s validity is dependent on property A.

When property B is modified in PostEditChangeProperty, however, it does not update the actual display in the details window. I assume that there might be some kind of dirty flag needs to be set, or maybe even invalidate the entire layout, but I can’t figure out how to do so.

These properties happen to be GameplayTagContainers.

---

<div class="post-metadata">

**Author:** ![Myst\_Senpai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Myst\_Senpai](https://forums.unrealengine.com/u/Myst_Senpai)\
**Post date:** [September 20, 2017, 6:06pm UTC](https://forums.unrealengine.com/t/properties-edited-in-posteditchangeproperty-do-not-update-details-panel/391810/2 "2017-09-20T18:06:15Z")

</div>

I’m having the same problem.  
If PostEditChangeProperty is triggered because of a change on value A, it seems like A is the only value I can modify. (I want to modify B)

I’ve searched quite a bit online, but I haven’t found any answer.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_84efd158](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_84efd158](https://forums.unrealengine.com/u/anonymous_user_84efd158)\
**Post date:** [October 23, 2017, 12:58am UTC](https://forums.unrealengine.com/t/properties-edited-in-posteditchangeproperty-do-not-update-details-panel/391810/3 "2017-10-23T00:58:57Z")

</div>

Hello guys,

Any luck doing that. I am trying to hide Property A because Property B is changed. Have any ideas how can I accomplish that.

I am new to unreal, so please pardon me If I am asking something very obvious.

Thanks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8829be49](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8829be49](https://forums.unrealengine.com/u/anonymous_user_8829be49)\
**Post date:** [January 17, 2019, 12:49pm UTC](https://forums.unrealengine.com/t/properties-edited-in-posteditchangeproperty-do-not-update-details-panel/391810/4 "2019-01-17T12:49:43Z")

</div>

Even code in unreal has this problem. The UI Sequencer → Render Movie Settings → Burn in Options → Settings has this same issue when toggling between burn in classes in 4.21

I’ve been able to work around this by using a timer inside PostEditChangeProperty to update my uproperty. In my case, I null out the property in PostEditChangeProperty, then set a new value in the callback. It would be nice if there was some way to do this without a timer, as it feels like a hack.

Rough Example:

```
void UMyClass::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
{
    FName PropertyName = (PropertyChangedEvent.Property != nullptr) ? PropertyChangedEvent.Property->GetFName() : NAME_None;

    if (PropertyName == GET_MEMBER_NAME_CHECKED(UMyClass, MonitoredProperty))
    {
        if (OtherProperty != nullptr)
        {
            OtherProperty->Rename(*MakeUniqueObjectName(this, USettingsObject::StaticClass(), "Settings_EXPIRED").ToString());
            OtherProperty->MarkPendingKill();
            OtherProperty = nullptr;
        }
        if (GEditor)
        {
            FTimerHandle TimerHandle;
            GEditor->GetTimerManager()->SetTimer(
                TimerHandle,
                this,
                &UMyClass::UpdateSettings,
                0.01f,
                false);
        }
    }
    Super::PostEditChangeProperty(PropertyChangedEvent);
}

void UMyClass::UpdateSettings()
{
    OtherProperty = NewObject<USettingsObject>();
}

```

---

<div class="post-metadata">

**Author:** ![JJC1138](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JJC1138](https://forums.unrealengine.com/u/JJC1138)\
**Post date:** [April 6, 2023, 6:14pm UTC](https://forums.unrealengine.com/t/properties-edited-in-posteditchangeproperty-do-not-update-details-panel/391810/5 "2023-04-06T18:14:06Z")

</div>

I had this problem, and the solution for me was to call through to `Super::PostEditChangeProperty(PropertyChangedEvent)` _after_ making my change to the other value instead of doing that before making my change.

---

<div class="post-metadata">

**Author:** ![andyvyking](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/andyvyking/32/641039_2.png) [@andyvyking](https://forums.unrealengine.com/u/andyvyking)\
**Post date:** [January 25, 2025, 6:37pm UTC](https://forums.unrealengine.com/t/properties-edited-in-posteditchangeproperty-do-not-update-details-panel/391810/6 "2025-01-25T18:37:13Z")

</div>

I know this was posted a while ago, but in case anyone else ends up here, I just managed to get this working by overloading these three methods, and performing the update before calling into Super:

```cpp
#if WITH_EDITOR
	virtual void PostEditChangeProperty(struct FPropertyChangedEvent& InChangeEvent) override;
	virtual void PostCDOCompiled(const FPostCDOCompiledContext& Context) override;
	virtual void PostTransacted(const FTransactionObjectEvent& TransactionEvent) override;
#endif // WITH_EDITOR

```

**EDIT: Further Follow up:**

Some more testing, and it appears to work with just overloading this method:

```cpp
virtual void PostEditChangeProperty(struct FPropertyChangedEvent& InChangeEvent) override;

```

However, I ran into issues, where in my case I was assigning a dynamic material instance to the Class Default Object’s static mesh whenever I updated the Blueprint Default. This would cause a Save error to the instances in the editor, (something along the lines of referencing an external private property instance).

I added the following flag check to make sure I wasn’t doing it on the CDO. (Checking owner as this was a actor component).

```cpp
if (GetOwner() && GetOwner()->HasAnyFlags(RF_ClassDefaultObject)) return;

```

That seems to be stable so far… 🤞
