QuantumLeaps / qm

Graphical modeling and code generation tool based on UML state machines
https://www.state-machine.com/products/qm
Other
140 stars 37 forks source link

String replacement in Model Search does not update function name #11

Open vChavezB opened 1 year ago

vChavezB commented 1 year ago

I have noticed that in QM if you replace a string which also happens to be the name of a function and then click "Generate Code", the function name is not changed in the code.

Alternative

What I do is add a space and save the model and then click generate code, so the software detects that the function has been changed so it changes the name as well in the code generation.

grafik

quantum-leaps commented 1 year ago

Thank yo for reporting. An official bug report has been filed for it in the bug-tracker:

https://sourceforge.net/p/qpc/bugs/337/

The issue will be fixed in the future QM release.

--MMS