SPF-OST / pytrnsys_gui

Graphical user interface for pytrnsys
https://pytrnsys.readthedocs.io
GNU General Public License v3.0
3 stars 4 forks source link

GUI-crash: Existing name cannot be used after removing component #395

Closed ahobeost closed 1 year ago

ahobeost commented 1 year ago

When replacing a component with a similar one (e.g. connector is replaced by t-piece), the associated pipes cannot be given the same names as before. Trying to do so causes the GUI to crash. This means that the list of exiting names is not updated (correctly?) as the components are removed.

For one of my projects, these names are very specific, so it would be very useful to be able to give the pipe the exact same name. As I user, I wouldn't want to have to come up with many ways of creating an identical name to circumvent this feature.

ahobeost commented 1 year ago

We need to test "segmentDlg" to ensure that we cannot cause such a crashes bug here again.

ahobeost commented 1 year ago

@zuckerruebe, please review this issue.