Fixes tabbing to Repo whil it's busy crashing the Control Panel

This commit is contained in:
Jordan Brown
2017-11-01 18:19:18 -04:00
committed by GitHub
parent 7791c49585
commit 330ce2b91a
+1 -1
View File
@@ -238,7 +238,7 @@ namespace TGControlPanel
}
void DoAsyncOp(RepoAction ra, string message)
{
if (ra != RepoAction.Wait && RepoBusyCheck())
if (RepoBGW.IsBusy || (ra != RepoAction.Wait && RepoBusyCheck()))
return;
CurrentRevisionLabel.Visible = false;