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
This commit is contained in:
ShootingStarDragons 2023-01-20 22:10:22 +08:00
parent b4c0581948
commit abe4f8eb3c

View file

@ -116,6 +116,7 @@ Window {
//ToolTip.delay: Nheko.tooltipDelay
//ToolTip.text: qsTr("Download")
onClicked: {
imageOverlay.hide();
if (room) {
room.saveMedia(eventId);
} else {