Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a waypoint does not mark path as modified and offer to save #273

Open
natejank opened this issue Feb 5, 2022 · 0 comments
Open

Comments

@natejank
Copy link

natejank commented Feb 5, 2022

Describe the bug
When a waypoint of a path is deleted and the path is otherwise unmodified, the program will not prompt to save the new path. If I then build paths, the program will not prompt to save the updated path, and the old path will be built.

To Reproduce
Steps to reproduce the behavior:

  1. Create a path
  2. Save it
  3. Close and reopen the program
  4. Load the path
  5. right click a waypoint -> Delete
  6. Click another path or click "Build Paths"

Expected behavior
Upon deleting a waypoint, pathweaver should recognize the path as modified and ask to save the updated path when switching to a different path or building.

Desktop (please complete the following information):

  • OS: Windows 10 21H2
  • Java version: OpenJDK 11.0.1 (or whatever version is run when pathweaver is run through WPILib VSCode)
  • WPILib/Pathweaver version: 2022.3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant