Skip to content

Commit

Permalink
Fixed selecting the selected item in a selector tree view not working
Browse files Browse the repository at this point in the history
  • Loading branch information
danae committed May 28, 2024
1 parent 50d495b commit 4efd6ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Editor/Windows/LocalizedStringSelectorWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public override LocalizedStringSelectorTreeView CreateTreeView(TreeViewState tre
// Get the property value
public override string GetPropertyValue()
{
return serializedProperty?.stringValue ?? default;
return serializedProperty?.stringValue ?? null;
}

// Set the property value
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"dependencies": {
"com.audune.utils.types": "1.0.0",
"com.audune.utils.dictionary": "1.0.1",
"com.audune.utils.unityeditor": "2.0.1"
"com.audune.utils.unityeditor": "2.0.2"
}
}

0 comments on commit 4efd6ca

Please sign in to comment.