#3884 closed defect (fixed)
Attribute editing not initialized properly
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OMEdit | Version: | v1.10.0-dev-nightly |
Keywords: | Cc: |
Description
After adding a block with the "defaultComponentPrefixes = parameter" annotation to a model and then after editing the attributes for that block, the parameter designation disappears.
To reproduce using the following record:
record rec parameter Real a = 1; annotation(defaultComponentPrefixes = "parameter"); end rec;
1) Drag the block to the model, check that parameter prefix is correct in text view.
2) Edit the attributes in diagram view, notice that the setting is variability is "Unspecified" rather than "parameter". Then change the name.
3) In text view the prefix is now missing.
Tested using the latest nightly: v1.10.0-dev-112-g1418a48
Change History (3)
comment:1 by , 9 years ago
Status: | new → accepted |
---|
comment:2 by , 9 years ago
Milestone: | Future → 1.10.0 |
---|---|
Resolution: | → fixed |
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in bff7de7/OMEdit.