Opened 11 years ago
Closed 11 years ago
#2589 closed defect (fixed)
Name not shown in a MSL component
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | low | Milestone: | 1.9.1 |
Component: | OMEdit | Version: | trunk |
Keywords: | Cc: |
Description
The %name field in icons is intended to be replaced by the actual name of the component.
However if we do the following:
- create a new (blank) model
- drag onto it Modelica.Electrical.Basic.Sources.ConstantVoltage
The icon shows as textual label "%names=%V".
At this point
- if we add up a value of 10 the source the textual label changes into "%name=10" (correct!)
- if now we change the name of the source into mySource (using in OMEdit the contextual menu and going into the window "Attributes")
the textual label remains "%name=10" (incorrect).
It is a small glitch, but it is worth while reporting, just in case it is easy to fix.
Note:
See TracTickets
for help on using tickets.
I think this is fixed in r20155.