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

Commit f499c20

Browse files
Merge branch 'fixes/git-path-find-button' into enhancements/git-path-view
# Conflicts: # src/UnityExtension/Assets/Editor/GitHub.Unity/UI/SettingsView.cs
2 parents b8474c2 + d3cb538 commit f499c20

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public override void OnGUI()
106106
if (GUILayout.Button(GitInstallFindButton, GUILayout.ExpandWidth(false)))
107107
{
108108
GUI.FocusControl(null);
109+
isBusy = true;
109110

110111
new ProcessTask<NPath>(Manager.CancellationToken, new FirstLineIsPathOutputProcessor())
111112
.Configure(Manager.ProcessManager, Environment.IsWindows ? "where" : "which", "git")
@@ -132,6 +133,8 @@ public override void OnGUI()
132133
Manager.SystemSettings.Set(Constants.GitInstallPathKey, path);
133134
Environment.GitExecutablePath = path;
134135
}
136+
137+
isBusy = false;
135138
}).Start();
136139
}
137140
}

0 commit comments

Comments
 (0)