Skip to content

Commit

Permalink
fix: right menu delete not work
Browse files Browse the repository at this point in the history
as title.

Log: fix right menu delete not work.
  • Loading branch information
rb-union committed Aug 12, 2024
1 parent 0055f9a commit 0fd6e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qml/ViewRightMenu.qml
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,15 @@ Menu {
visible: deletable

onTriggered: {
thumbnailListView.deleteCurrentImage();
thumbnailViewBackGround.deleteCurrentImage();
}

Shortcut {
enabled: deletable
sequence: "Delete"

onActivated: {
thumbnailListView.deleteCurrentImage();
thumbnailViewBackGround.deleteCurrentImage();
}
}
}
Expand Down

0 comments on commit 0fd6e7f

Please sign in to comment.