more generic public property editor
This commit is contained in:
parent
5efa5c1f41
commit
393f3b9e9c
4 changed files with 27 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -1077,9 +1077,12 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
}
|
||||
}
|
||||
|
||||
propertyObject3D.Invalidated += RefreshField;
|
||||
wrappedTextWidget.Closed += (s, e) => propertyObject3D.Invalidated -= RefreshField;
|
||||
}
|
||||
if (propertyObject3D != null)
|
||||
{
|
||||
propertyObject3D.Invalidated += RefreshField;
|
||||
wrappedTextWidget.Closed += (s, e) => propertyObject3D.Invalidated -= RefreshField;
|
||||
}
|
||||
}
|
||||
else // normal edit row
|
||||
{
|
||||
if (property.PropertyInfo.GetCustomAttributes(true).OfType<MultiLineEditAttribute>().FirstOrDefault() != null)
|
||||
|
|
|
|||
|
|
@ -925,6 +925,9 @@ Translated:Color 3
|
|||
English:Color 4
|
||||
Translated:Color 4
|
||||
|
||||
English:Color Name
|
||||
Translated:Color Name
|
||||
|
||||
English:Color View
|
||||
Translated:Color View
|
||||
|
||||
|
|
@ -1411,6 +1414,9 @@ Translated:Distance From Object
|
|||
English:Distance or Loops
|
||||
Translated:Distance or Loops
|
||||
|
||||
English:Do CSG
|
||||
Translated:Do CSG
|
||||
|
||||
English:Documents
|
||||
Translated:Documents
|
||||
|
||||
|
|
@ -3577,6 +3583,12 @@ Translated:PEI Bed Temperature
|
|||
English:Percentage of
|
||||
Translated:Percentage of
|
||||
|
||||
English:Performe a union before exporting. Might be slower but can clean up some models.
|
||||
Translated:Performe a union before exporting. Might be slower but can clean up some models.
|
||||
|
||||
English:Performe Union
|
||||
Translated:Performe Union
|
||||
|
||||
English:Perimeter Acceleration
|
||||
Translated:Perimeter Acceleration
|
||||
|
||||
|
|
@ -4432,6 +4444,12 @@ Translated:Save changes ?
|
|||
English:Save Changes?
|
||||
Translated:Save Changes?
|
||||
|
||||
English:Save Each Separately
|
||||
Translated:Save Each Separately
|
||||
|
||||
English:Save every object as a separate STL using its name. The save filename will be used if no name can be found.
|
||||
Translated:Save every object as a separate STL using its name. The save filename will be used if no name can be found.
|
||||
|
||||
English:Save file:
|
||||
Translated:Save file:
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 0152308cca0c9768f6cd4c2efddc0a1376026828
|
||||
Subproject commit 370c3bd1ce6eb0f7c8e515249425ada033264b83
|
||||
Loading…
Add table
Add a link
Reference in a new issue