MaxIV-KitsControls / lib-maxiv-svgsynoptic

A library for creating control system synoptics using SVG
GNU Lesser General Public License v3.0
6 stars 8 forks source link

Use windowTitle instead of getModel in _cleaunup_panel #29

Open MikeFalowski opened 4 years ago

MikeFalowski commented 4 years ago

If someone tries to setModel on not exported or somehow broken device, getModel returns empty string and TaurusDevicePanels is broken, so after trying to close the widget, it cannot find and remove it. Then, after reopening (even with restarted device) the panel, it finds broken widget again and doesn't try to open the new one.

Name is also used for setting window title and in this case it's always the same.

13bscsaamjad commented 4 years ago

Hi, we will try to reproduce the problem after preparing a test set up and will then get back.