Made the macro and gcode edit windows edit faster

This commit is contained in:
larsbrubaker 2016-12-03 12:48:19 -08:00
parent b64fc1d5c2
commit 1c9af30332
4 changed files with 10 additions and 1 deletions

View file

@ -1234,6 +1234,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
HAnchor = HAnchor.ParentLeftRight,
};
stringEdit.DrawFromHintedCache();
stringEdit.ActualTextEditWidget.EditComplete += (sender, e) =>
{
ActiveSliceSettings.Instance.SetValue(settingData.SlicerConfigName, ((TextEditWidget)sender).Text.Replace("\n", "\\n"), persistenceLayer);