diff options
author | ShootingStarDragons <ShootingStarDragons@protonmail.com> | 2023-01-20 22:10:22 +0800 |
---|---|---|
committer | ShootingStarDragons <ShootingStarDragons@protonmail.com> | 2023-01-20 22:10:22 +0800 |
commit | abe4f8eb3c66ddff07c22510c532ee7904e93f17 (patch) | |
tree | 6ec21e1e0a354a532c54857d718568eb48677fc0 /resources/qml/dialogs/ImageOverlay.qml | |
parent | Translated using Weblate (Russian) (diff) | |
download | nheko-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 '')
-rw-r--r-- | resources/qml/dialogs/ImageOverlay.qml | 1 |
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 { |