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

Commit d3cb538

Browse files
Changing isBusy flag
1 parent 353cabc commit d3cb538

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ private void OnInstallPathGUI()
459459
if (GUILayout.Button(GitInstallFindButton, GUILayout.ExpandWidth(false)))
460460
{
461461
GUI.FocusControl(null);
462+
isBusy = true;
462463

463464
new ProcessTask<NPath>(Manager.CancellationToken, new FirstLineIsPathOutputProcessor())
464465
.Configure(Manager.ProcessManager, Environment.IsWindows ? "where" : "which", "git")
@@ -485,6 +486,8 @@ private void OnInstallPathGUI()
485486
Manager.SystemSettings.Set(Constants.GitInstallPathKey, path);
486487
Environment.GitExecutablePath = path;
487488
}
489+
490+
isBusy = false;
488491
}).Start();
489492
}
490493
}

0 commit comments

Comments
 (0)