Improving name changes in sheet editor

This commit is contained in:
Lars Brubaker 2021-09-02 17:12:32 -07:00
parent b46d9ea061
commit 0b3778adc7
3 changed files with 14 additions and 22 deletions

View file

@ -174,7 +174,9 @@ namespace MatterHackers.MatterControl.DesignTools
var name = agg_basics.GetNonCollidingName(editSelectedName.Text, existingNames);
editSelectedName.Text = name;
sheetData[selectedCell.x, selectedCell.y].Name = name;
sheetData.Recalculate();
}
private void SelectCell(int x, int y)
{
if (selectedCell.x != -1)