robertobucher / pysimCoder

Block diagram editor and real time code generator for Python
GNU General Public License v3.0
142 stars 31 forks source link

toolbox/editor.py: use correct item idents in shvAction #85

Closed michallenc closed 3 months ago

michallenc commented 3 months ago

Item idents are calculated during code generation based on the connections between blocks. Newly introduced tuning over pySHV needs correct item idents even if the connection is made from a diagram without previous code generation. This fixes the issue when the diagram was reopened and tuning was not working.