Remove options setter in dead code

This commit is contained in:
John Lewin 2017-08-03 18:53:57 -07:00
parent 385d370001
commit 0d1316d546

View file

@ -48,9 +48,6 @@ namespace MatterHackers.MatterControl
{
headerLabel.Text = "Setup Options".Localize();
textImageButtonFactory.Options.BorderWidth = 1;
textImageButtonFactory.Options.Normal.BorderColor = RGBA_Bytes.White;
contentRow.AddChild(new SetupPrinterView(this.textImageButtonFactory) { WizardPage = this });
contentRow.AddChild(new SetupAccountView(this.textImageButtonFactory));
@ -228,7 +225,6 @@ namespace MatterHackers.MatterControl
buttonContainer.AddChild(new HorizontalSpacer());
// the redeem design code button
textImageButtonFactory.Options.Disabled.TextColor = new RGBA_Bytes(textImageButtonFactory.normalTextColor, 100);
Button redeemPurchaseButton = textImageButtonFactory.Generate("Redeem Purchase".Localize());
redeemPurchaseButton.Enabled = true; // The library selector (the first library selected) is protected so we can't add to it.
redeemPurchaseButton.Name = "Redeem Code Button";