Skip to content

Commit

Permalink
Fixed ByteProperty crash in the live view tab
Browse files Browse the repository at this point in the history
  • Loading branch information
UE4SS committed Oct 16, 2023
1 parent d991abc commit ab5adf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UE4SS/src/GUI/LiveView.cpp
Original file line number Diff line number Diff line change
@@ -1388,7 +1388,7 @@ namespace RC::GUI
}
render_property_value_context_menu(tree_node_id);
}
else if (property->IsA<FEnumProperty>() || property->IsA<FByteProperty>())
else if (property->IsA<FEnumProperty>() || (property->IsA<FByteProperty>() && static_cast<FByteProperty*>(property)->IsEnum()))
{
UEnum* uenum{};
if (property->IsA<FByteProperty>())

0 comments on commit ab5adf8

Please sign in to comment.