From abe4f8eb3c66ddff07c22510c532ee7904e93f17 Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Fri, 20 Jan 2023 22:10:22 +0800 Subject: [PATCH] chore: when save file, hide ImageOverlay window Log: on wm like sway, it will cover the whole screen, and I cannot get the file save dialog, then the program will stay there, I must kill it, so I think hide it is better, because after, it will be closed --- resources/qml/dialogs/ImageOverlay.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/qml/dialogs/ImageOverlay.qml b/resources/qml/dialogs/ImageOverlay.qml index 7437a04b..cc60d496 100644 --- a/resources/qml/dialogs/ImageOverlay.qml +++ b/resources/qml/dialogs/ImageOverlay.qml @@ -116,6 +116,7 @@ Window { //ToolTip.delay: Nheko.tooltipDelay //ToolTip.text: qsTr("Download") onClicked: { + imageOverlay.hide(); if (room) { room.saveMedia(eventId); } else {