From 330ce2b91a6f9ab9dbcc149415900ef2ec10b917 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Wed, 1 Nov 2017 18:19:18 -0400 Subject: [PATCH] Fixes tabbing to Repo whil it's busy crashing the Control Panel --- TGControlPanel/RepoPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TGControlPanel/RepoPage.cs b/TGControlPanel/RepoPage.cs index d6f6bc9bae..e33799692e 100644 --- a/TGControlPanel/RepoPage.cs +++ b/TGControlPanel/RepoPage.cs @@ -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;