OpenModelica icon indicating copy to clipboard operation
OpenModelica copied to clipboard

OMEdit parameter dialog is missing the edit button for parameter record missing

Open sbaetzing opened this issue 2 years ago • 2 comments

Not only replaceable parameter records should have the edit button in the parameter dialog, so also non replaceable parameter of record types should have it.

Tested with nightly OMEdit from 11.05.2023

package MinimalExample

model Testclass

replaceable parameter testrecord test1;
parameter testrecord test2;


equation

end Testclass;

record testrecord
parameter Real A = 1;
parameter Real B = 2;
end testrecord;

  model test
  Testclass testclass annotation(
      Placement(visible = true, transformation(origin = {-38, -24}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  equation

  end test;

end MinimalExample;

sbaetzing avatar May 16 '23 07:05 sbaetzing

@adeas31 I guess this is an easy modification, is it?

casella avatar May 16 '23 08:05 casella

@adeas31 can you check if we can get this in 1.23.0?

casella avatar Apr 08 '24 14:04 casella

Fixed and ported to 1.23 #12326

adeas31 avatar Apr 26 '24 13:04 adeas31