Skip to content

Commit

Permalink
fix: error during PreviewPrefsUI construction (#506)
Browse files Browse the repository at this point in the history
Closes: #490
  • Loading branch information
bdunderscore authored Jan 15, 2025
1 parent fdaee91 commit 0fbb526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#487] Fixed a performance issue where all assets would potentially be loaded on reimport, taking a lot of time and
memory in the process
- [#500] Fixed a thread-safety issue which could cause various issues, including editor performance degradation.
- [#506] Fixed an issue with the preview preferences dialog

### Changed

Expand Down
2 changes: 1 addition & 1 deletion Editor/PreviewSystem/UI/PreviewPrefsUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static void ShowPreviewConfigWindow()
GetWindow<PreviewPrefsUI>();
}

private PreviewPrefsUI()
private void OnEnable()
{
BuildTreeViewData();
}
Expand Down

0 comments on commit 0fbb526

Please sign in to comment.