forked from 1b-agent/opencadstudio-upstream
fix(properties): preserve literal text
Separate numeric fields from names and content so only numeric property values are evaluated as expressions. Refs #809
This commit is contained in:
commit
5e62da464e
15 files changed
+107
-31
No files matched your search
@@ -715,7 +715,7 @@ fn properties(ml: &MultiLeader) -> Vec<PropSection> {
|
||||
Property {
|
||||
label: t!("Contents").into_owned(),
|
||||
field: "text_string",
|
||||
value: PropValue::EditText(ctx.text_string.clone()),
|
||||
value: PropValue::PlainText(ctx.text_string.clone()),
|
||||
},
|
||||
// Text-style name resolved from text_style_handle by the panel builder.
|
||||
ro(t!("Text style").as_ref(), "text_style_handle", "Standard"),
|
||||
|
||||
Reference in new issue
Block a user