more generic public property editor

This commit is contained in:
MatterHackers 2023-03-27 08:41:34 -07:00
parent 5efa5c1f41
commit 393f3b9e9c
4 changed files with 27 additions and 5 deletions

View file

@ -172,7 +172,8 @@ namespace MatterHackers.MatterControl.DesignTools
for (int i=0; i<SurfacedEditors.Count; i++)
{
var (cellId, cellData) = this.DecodeContent(i);
if (cellData.StartsWith("="))
if (cellData != null
&& cellData.StartsWith("="))
{
var expression = new DoubleOrExpression(cellData);
var controledSheet = ControledSheet;