allow \n in single line text object
This commit is contained in:
parent
3d95502a1a
commit
5b8ccb4334
2 changed files with 4 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
|
||||
var textToWrite = MultiLine
|
||||
? MultiLineText.Value(this).Replace("\\n", "\n").Replace("\r", "\n")
|
||||
: NameToWrite.Value(this);
|
||||
: NameToWrite.Value(this).Replace("\\n", "\n").Replace("\r", "\n");
|
||||
|
||||
var pointSize = PointSize.Value(this);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue