Remove invalid setter

This commit is contained in:
John Lewin 2018-11-20 12:33:06 -08:00
parent f739107bd4
commit 0e420fcc32
2 changed files with 1 additions and 2 deletions

View file

@ -174,8 +174,6 @@ namespace MatterHackers.MatterControl
{
return updateStatus == UpdateStatusStates.UpdateAvailable && ApplicationSettings.Instance.get(LatestVersionRequest.VersionKey.UpdateRequired) == "True";
}
private set { }
}
public void CheckForUpdate()

View file

@ -151,6 +151,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
UserSettings.Instance.SettingChanged += SetLinkButtonsVisibility;
SetLinkButtonsVisibility(this, null);
updateAvailableButton.Click += (s, e) => UiThread.RunOnIdle(() =>
{
UpdateControlData.Instance.CheckForUpdate();