mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 12:38:48 +03:00
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:
parent
b4c0581948
commit
abe4f8eb3c
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ Window {
|
||||||
//ToolTip.delay: Nheko.tooltipDelay
|
//ToolTip.delay: Nheko.tooltipDelay
|
||||||
//ToolTip.text: qsTr("Download")
|
//ToolTip.text: qsTr("Download")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
imageOverlay.hide();
|
||||||
if (room) {
|
if (room) {
|
||||||
room.saveMedia(eventId);
|
room.saveMedia(eventId);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue