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

Added "Delete screenshot" option && solved bug after deleting #23

Merged
merged 1 commit into from
Aug 27, 2014

Conversation

dexafree
Copy link
Contributor

I think I've managed to solve it correctly
As the ScreenshotMonitor doesn't receive an event which can indicate if there has been an addition or a removal, I implemented a method "isDeletion(), which compares the blacklist length with the query results length.

When I tried to access the new query results after a deletion, it crashed, so I don't remove the deleted screenshot from the blacklist, but as its name is created based on the current time, it won't be added again

mileswd pushed a commit that referenced this pull request Aug 27, 2014
Added "Delete screenshot" option && solved bug after deleting
@mileswd mileswd merged commit d4667ef into mileswd:master Aug 27, 2014
mileswd pushed a commit that referenced this pull request Nov 30, 2014
Added "Delete screenshot" option && solved bug after deleting
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

Successfully merging this pull request may close these issues.

2 participants