diff options
author | math <mathdu@protonmail.com> | 2022-03-19 01:54:02 -0300 |
---|---|---|
committer | math <mathdu@protonmail.com> | 2022-03-19 01:54:02 -0300 |
commit | 74a4e36f9062d4b64f2536787d090eb9f7162d3b (patch) | |
tree | 5a78b528b14deed5a118cc52037da3b2e0a9d7e7 /resources/qml/delegates | |
parent | Merge pull request #989 from maltee1/improve_reply_popup (diff) | |
download | nheko-74a4e36f9062d4b64f2536787d090eb9f7162d3b.tar.xz |
add option to open image with external program by default
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r-- | resources/qml/delegates/ImageMessage.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/delegates/ImageMessage.qml b/resources/qml/delegates/ImageMessage.qml index efd4f4a5..2ee8da7f 100644 --- a/resources/qml/delegates/ImageMessage.qml +++ b/resources/qml/delegates/ImageMessage.qml @@ -68,7 +68,7 @@ Item { TapHandler { //enabled: type == MtxEvent.ImageMessage && (img.status == Image.Ready || mxcimage.loaded) onSingleTapped: { - TimelineManager.openImageOverlay(room, url, eventId); + Settings.openImageExternal ? room.openMedia(eventId) : TimelineManager.openImageOverlay(room, url, eventId); eventPoint.accepted = true; } gesturePolicy: TapHandler.ReleaseWithinBounds |