Close image viewer when clicking on the background

fixes #1088
pull/1100/head
Nicolas Werner 3 years ago
parent 835fcf6325
commit 6afe3fa39d
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      resources/qml/dialogs/ImageOverlay.qml

@ -28,6 +28,10 @@ Window {
onActivated: imageOverlay.close()
}
TapHandler {
onSingleTapped: imageOverlay.close();
}
Item {
id: imgContainer

Loading…
Cancel
Save