Commit 519bbe1e authored by L1J Smitty's avatar L1J Smitty

hide the check button if versioninfourl isn't specified

parent afc45f28
......@@ -91,6 +91,16 @@ namespace Launcher.Forms
this._isWin8OrHigher = Helpers.IsWin8OrHigher(out this._windowsVersion);
InitializeComponent();
// if the version info url is null, then don't display the "check"
if(this._config.VersionInfoUrl == null)
{
this.btnCheck.Visible = false;
this.btnSettings.Location = new Point(
this.btnClose.Location.X - this.btnSettings.Width - 5,
this.btnSettings.Location.Y);
}
this.BannerBrowser.Url = this._config.NewsUrl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment