Create new CharField for char content

This commit is contained in:
John Lewin 2018-06-08 18:19:06 -07:00
parent f00638eab4
commit 4e56bb984b
5 changed files with 99 additions and 28 deletions

View file

@ -1,5 +1,5 @@
/*
Copyright (c) 2017, Lars Brubaker, John Lewin
Copyright (c) 2018, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
@ -27,8 +27,6 @@ of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.
*/
using MatterHackers.Agg.UI;
namespace MatterHackers.MatterControl.SlicerConfiguration
{
public class TextField : UIField
@ -56,7 +54,6 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
this.Content = textEditWidget;
}
protected override void OnValueChanged(FieldChangedEventArgs fieldChangedEventArgs)
{
if (this.Value != textEditWidget.Text)