mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-11 00:38:23 +00:00
Fix media viewer window preliminary destroy.
This commit is contained in:
parent
b65a00824c
commit
d18c6591e9
@ -396,6 +396,7 @@ OverlayWidget::OverlayWidget()
|
||||
} else if (type == QEvent::Close
|
||||
&& !Core::Sandbox::Instance().isSavingSession()
|
||||
&& !Core::Quitting()) {
|
||||
e->ignore();
|
||||
close();
|
||||
return base::EventFilterResult::Cancel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user