mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-27 23:17:20 +01:00
Fixes TestMergeManager starting out disabled
This commit is contained in:
-1
@@ -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";
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user