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
@@ -291,7 +291,7 @@ fn properties(leader: &Leader) -> Vec<PropSection> {
|
||||
Property {
|
||||
label: t!("Dim style").into_owned(),
|
||||
field: "dimension_style",
|
||||
value: PropValue::EditText(leader.dimension_style.clone()),
|
||||
value: PropValue::PlainText(leader.dimension_style.clone()),
|
||||
},
|
||||
choice_prop(
|
||||
t!("Type").as_ref(),
|
||||
|
||||
Reference in new issue
Block a user