Skip to content

Commit

Permalink
fix: NullReferenceException in some cases when viewing MA Menu Item c…
Browse files Browse the repository at this point in the history
…ontrols

Closes: #1383
  • Loading branch information
bdunderscore committed Dec 7, 2024
1 parent f7dc99b commit 7967fcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Editor/Inspector/Menu/MenuItemGUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ public void DoGUI()
EditorGUILayout.BeginVertical();

EditorGUILayout.BeginHorizontal();
if (_parameterReference == null)

if (_prop_label == null)
{
EditorGUI.BeginChangeCheck();
if (_obj != null && _obj.isEditingMultipleObjects)
Expand Down

0 comments on commit 7967fcf

Please sign in to comment.