Duplicating a routine can make routines have the same name
Project Builder prevents routines from having identical names by disabling the Back button in the Routine Builder screen if the routine is given the same name as another routine. But identical names can still be achieved by duplicating a routine.
Steps to reproduce:
- Add a new routine.
- Duplicate the routine.
- Duplicate the same routine again.
Sometimes editing a routine with a non-unique name disables the Back button and highlights the name, and sometimes it doesn't.
On my machine the automatic filenames for copies are "name (copy 1)", "name (copy 2)", "name (copy 3)", etc. The same idea could be used for a fix.
c0c209a
I can still get it to make non-unique names.
- Add routine (routine 1).
- Duplicate routine 1 (routine 2).
- Duplicate routine 1 (routine 3).
- Delete routine 2.
- Duplicate routine 1 (routine 4).
- Duplicate routine 1 (routine 5).
Routines 3 and 5 will have the same name: "New Routine (Copy 1)"
bb69ec5