mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 09:18:27 +02:00
[ui] ImageGallery: remove images on Delete key press
This commit is contained in:
parent
c53c0ae8d2
commit
95649ebcfd
2 changed files with 5 additions and 1 deletions
|
@ -16,6 +16,7 @@ Item {
|
|||
property alias metadata: _viewpoint.metadata
|
||||
|
||||
signal pressed(var mouse)
|
||||
signal removeRequest()
|
||||
|
||||
// retrieve viewpoints inner data
|
||||
QtObject {
|
||||
|
@ -48,7 +49,7 @@ Item {
|
|||
MenuItem {
|
||||
text: "Remove"
|
||||
enabled: !root.readOnly
|
||||
onClicked: removeImageRequest(viewpoint)
|
||||
onClicked: removeRequest()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue