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

Commit 8768caf

Browse files
Combining code
1 parent 889986f commit 8768caf

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ public override void OnGUI()
123123
if (success)
124124
{
125125
Logger.Trace("FindGit Path:{0}", path);
126+
newGitExec = path;
127+
CheckEnteredGitPath();
126128
}
127129
else
128130
{
@@ -136,12 +138,6 @@ public override void OnGUI()
136138
}
137139
}
138140

139-
if (success)
140-
{
141-
newGitExec = path;
142-
CheckEnteredGitPath();
143-
}
144-
145141
isBusy = false;
146142
}).Start();
147143
}

0 commit comments

Comments
 (0)