hold17 / cphindustries

App for CPH Industries to manage weapons made for movies.
MIT License
0 stars 1 forks source link

swapping items while renaming does funky stuff #119

Closed twast92 closed 6 years ago

twast92 commented 6 years ago

Description

When editing name of item -> changing items position -> saving -> repeat = swapped item gets renamed to previous items name

Steps to Reproduce

  1. Edit
  2. Click pen on bottom item to rename
  3. Move item up one
  4. Save changes
  5. Edit again
  6. Click pen on bottom item to rename
  7. Move item up one
  8. Save changes
  9. Item now has the name of the item swapped previously
  10. Repeat this for all items

Expected behavior: Item gets swapped and any subsequent swap doesn't magically get renamed

Actual behavior: As described above.

Reproduces how often: Consistently.

Versions

0.4.1

Additional Information

None