Skip to content

Commit

Permalink
remove reference to deleteImage
Browse files Browse the repository at this point in the history
  • Loading branch information
neffo committed Mar 19, 2024
1 parent 12d1384 commit f65998e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ export default class Carousel {
deleteButton.connect('clicked', (widget) => {
this.log('Delete requested for '+filename);
Utils.deleteImage(filename);
Utils.hideImage(this.settings, [image]);
Utils.setImageHiddenStatus(this.settings, [image], true);
Utils.cleanupImageList(this.settings); // hide image instead
widget.get_parent().get_parent().set_visible(false); // bit of a hack
Expand Down

0 comments on commit f65998e

Please sign in to comment.