Skip to content

Commit 4b6203b

Browse files
authored
Merge pull request #11 from chadefranklin/main
Assign result
2 parents 28ce93d + 1abb5d7 commit 4b6203b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Editor/SubclassSelectorDrawer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ TypePopupCache GetTypePopup (SerializedProperty property) {
8181
m_TargetProperty.serializedObject.ApplyModifiedProperties();
8282
};
8383

84-
m_TypePopups.Add(managedReferenceFieldTypename,new TypePopupCache(popup,state));
84+
result = new TypePopupCache(popup, state);
85+
m_TypePopups.Add(managedReferenceFieldTypename, result);
8586
}
8687
return result;
8788
}

0 commit comments

Comments
 (0)