From b332993b7768dbb61011b81d59d0ba43bc116349 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Wed, 9 Nov 2022 22:03:17 +0100 Subject: [PATCH] Close fullscreen image when pressing the back button --- src/qml/Component/FullScreenImage.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qml/Component/FullScreenImage.qml b/src/qml/Component/FullScreenImage.qml index 3b09ebeb2..60289bac9 100644 --- a/src/qml/Component/FullScreenImage.qml +++ b/src/qml/Component/FullScreenImage.qml @@ -26,6 +26,8 @@ Popup { padding: 0 background: null + Keys.onBackPressed: root.close() + ColumnLayout { anchors.fill: parent spacing: Kirigami.Units.largeSpacing