From 3d9a83aeec870c191e781e3413d412565d71d875 Mon Sep 17 00:00:00 2001 From: Stanley Goldman Date: Mon, 11 Sep 2017 08:37:20 -0400 Subject: [PATCH] Making sure favorites is not null --- .../Assets/Editor/GitHub.Unity/UI/BranchesView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BranchesView.cs b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BranchesView.cs index 015aa1244..3f77ce74f 100644 --- a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BranchesView.cs +++ b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/BranchesView.cs @@ -52,7 +52,7 @@ class BranchesView : Subview [SerializeField] private List remotes = new List(); [SerializeField] private Vector2 scroll; [SerializeField] private BranchTreeNode selectedNode; - private List favoritesList; + [SerializeField] private List favoritesList = new List(); public override void InitializeView(IView parent) {