You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[BugFix] No clear way to unhiglight a property
CL 22279933 introduced a regression to SDetailsViewBase::HighlightProperty that made it impossible to unhighlight properties. udn: https://epicgames.lightning.force.com/lightning/r/Case/5004z00001nziOiAAI/view #jira none #rb none #preflight trivial [CL 25222768 by jordan hoffmann in ue5-main branch]
This commit is contained in:
@@ -297,16 +297,17 @@ static TSharedPtr<FDetailTreeNode> FindBestFitTreeNodeFromProperty(const TArray<
|
||||
|
||||
void SDetailsViewBase::HighlightProperty(const FPropertyPath& Property)
|
||||
{
|
||||
if (!Property.IsValid())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
TSharedPtr<FDetailTreeNode> PrevHighlightedNodePtr = CurrentlyHighlightedNode.Pin();
|
||||
if (PrevHighlightedNodePtr.IsValid())
|
||||
{
|
||||
PrevHighlightedNodePtr->SetIsHighlighted(false);
|
||||
}
|
||||
|
||||
if (!Property.IsValid())
|
||||
{
|
||||
CurrentlyHighlightedNode = nullptr;
|
||||
return;
|
||||
}
|
||||
|
||||
const TSharedPtr< FDetailTreeNode > TreeNode = FindBestFitTreeNodeFromProperty(RootTreeNodes, Property);
|
||||
if (TreeNode.IsValid())
|
||||
|
||||
Reference in New Issue
Block a user