summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorShootingStarDragons <ShootingStarDragons@protonmail.com>2023-01-20 22:10:22 +0800
committerShootingStarDragons <ShootingStarDragons@protonmail.com>2023-01-20 22:10:22 +0800
commitabe4f8eb3c66ddff07c22510c532ee7904e93f17 (patch)
tree6ec21e1e0a354a532c54857d718568eb48677fc0 /resources
parentTranslated using Weblate (Russian) (diff)
downloadnheko-abe4f8eb3c66ddff07c22510c532ee7904e93f17.tar.xz
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
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/dialogs/ImageOverlay.qml1
1 files changed, 1 insertions, 0 deletions
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 {