Skip to content

Commit f3dedcf

Browse files
committed
Update ChatGPTSettingsEditor.cs
1 parent 907d4c7 commit f3dedcf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Editor/ChatGPTSettingsEditor.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ private void OnEnable()
3333

3434
public override void OnInspectorGUI()
3535
{
36+
serializedObject.Update();
37+
3638
EditorGUILayout.PropertyField(m_OpenAiApiKey);
3739
EditorGUILayout.PropertyField(m_Model);
3840
EditorGUILayout.LabelField("Warning: Current text-davinci-003 Only", warnLabelStyle);
3941
EditorGUILayout.PropertyField(m_CreateAssetPath);
42+
4043
serializedObject.ApplyModifiedProperties();
4144
}
4245
}

0 commit comments

Comments
 (0)