Closed Blatoy closed 4 years ago
@Blatoy
Thanks!! It's good idea!
I have one question before merging this pr.
Have you tested and checked this code several times?
@developer0hye
Yes to both! I tested it and both ctrl-d and the remove button work as expected. I moved the delete code to its own function to keep it clean but have not changed anything else in the code otherwise.
@Blatoy Thanks for your contribution!
While using the program I wanted to quickly remove an image but there was no shortcuts for it. This PR adds ctrl-d as a shortcut to remove the current image, but I can change it to something else if you think it is not ideal.