Skip to content

Commit bf2dae2

Browse files
committed
update LicenseControl
1 parent db3dd43 commit bf2dae2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

UnderAutomation.UniversalRobots.Showcase.Forms/Components/LicenseControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ private void UpdateLicenseControls()
4141
var info = UR.LicenseInfo;
4242
txtLicenseInfo.Text = info.ToString();
4343
gridLicense.SelectedObject = info;
44-
_licenseValid = info.State != LicenseState.Invalid && info.State != LicenseState.Expired;
44+
_licenseValid = info.IsLicensed;
4545
}
4646

4747
private void btnSetLicense_Click(object sender, System.EventArgs e)

0 commit comments

Comments
 (0)