mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix media viewer window preliminary destroy.
This commit is contained in:
parent
b65a00824c
commit
d18c6591e9
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue