Remove redundant GrayButtonFactory, use ButtonFactory
This commit is contained in:
parent
7c0334cd87
commit
c485282d72
2 changed files with 1 additions and 12 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue