forked from 1b-agent/opencadstudio-upstream
feat(properties): make the Hyperlink field editable
The General-group Hyperlink row becomes an editable text field; committing a value writes the standard PE_URL XDATA record (an empty value clears it). Adds scene::view::dispatch::set_common_xdata, which rebuilds an entity's XDATA to replace or remove a single application record — ExtendedData only appends, so a plain add_record would leave a stale duplicate the reader would pick first. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
1 parent
1b037a68aa
commit
984fa79189
3 files changed
+43
-1
No files matched your search
Vendored
+1
-1
@@ -85,7 +85,7 @@ pub fn general_section(entity: &EntityType) -> PropSection {
|
||||
Property {
|
||||
label: "Hyperlink".into(),
|
||||
field: "hyperlink",
|
||||
value: PropValue::ReadOnly(hyperlink),
|
||||
value: PropValue::EditText(hyperlink),
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user