Fixes TestMergeManager starting out disabled

This commit is contained in:
Cyberboss
2017-11-11 23:27:31 -05:00
parent 315f748b95
commit b89a4e8b78
2 changed files with 1 additions and 5 deletions
-1
View File
@@ -193,7 +193,6 @@
this.Controls.Add(this.UpdateToRemoteRadioButton);
this.Controls.Add(this.ApplyButton);
this.Controls.Add(this.PullRequestListBox);
this.Enabled = false;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "TestMergeManager";
+1 -4
View File
@@ -164,16 +164,13 @@ namespace TGControlPanel
/// <param name="e">The <see cref="EventArgs"/></param>
void PullRequestManager_Load(object sender, EventArgs e)
{
Enabled = false;
var repo = currentInterface.GetComponent<ITGRepository>();
if(!Program.GetRepositoryRemote(repo, out repoOwner, out repoName))
{
Close();
return;
}
Enabled = true;
UseWaitCursor = true;
LoadPullRequests();
}