Remove redundant GrayButtonFactory, use ButtonFactory

This commit is contained in:
John Lewin 2018-04-07 08:27:40 -07:00
parent 7c0334cd87
commit c485282d72
2 changed files with 1 additions and 12 deletions

View file

@ -238,7 +238,7 @@ namespace MatterHackers.MatterControl
Button createdButton = null;
if (elementState.Classes.Contains("centeredButton"))
{
createdButton = ApplicationController.Instance.Theme.GrayButtonFactory.Generate(decodedHtml);
createdButton = ApplicationController.Instance.Theme.ButtonFactory.Generate(decodedHtml);
widgetToAdd = createdButton;
}
else if (elementState.Classes.Contains("linkButton"))