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

Detect changes and only prompt saving if changes are present #4

Closed
hnOsmium0001 opened this issue Jun 27, 2020 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@hnOsmium0001
Copy link
Owner

Currently the plugin always prompts the user to save regardless of whether the JSON is changed or not. If would be nice if it can detect changes, and only prompt saving if changes are present.

@hnOsmium0001 hnOsmium0001 added the enhancement New feature or request label Jun 27, 2020
@hnOsmium0001
Copy link
Owner Author

It doesn't seem like you can listen for changes to the items in a Tree. Help is welcomed!

@hnOsmium0001 hnOsmium0001 added the help wanted Extra attention is needed label Jun 27, 2020
@hnOsmium0001
Copy link
Owner Author

Actually there is an item_edited signal, apparently I'm blind.

@hnOsmium0001 hnOsmium0001 removed the help wanted Extra attention is needed label Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant