Qucs / qucs

Qucs Project official mirror
http://qucs.sourceforge.net/
GNU General Public License v2.0
1.16k stars 213 forks source link

Give visible error when setting component name to an already used name #917

Open Kezii opened 5 years ago

Kezii commented 5 years ago

When you change a component name to an already used name, if you press enter, the "Edit Component Properties" window closes without giving any notice and without changing the name of the component. If you press apply, the name reverts to the last one, without giving any notice or context.

Instead, a notification / popup box should be sent after a wrong submission, or, an interactive check should be implemented, for example changing the color of the text box to red if the name is invalid, explaining what the problem is.