Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 149d21b

Browse files
Fixing error where the selection is not reset after the locks are updated
1 parent a9c926f commit 149d21b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/SettingsView.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ private void MaybeUpdateData()
185185
{
186186
currentLocksHasUpdate = false;
187187
var repositoryCurrentLocks = Repository.CurrentLocks;
188+
lockedFileSelection = -1;
188189
lockedFiles = repositoryCurrentLocks != null
189190
? repositoryCurrentLocks.ToList()
190191
: new List<GitLock>();

0 commit comments

Comments
 (0)