mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix quilt by system on macOS.
This commit is contained in:
parent
315c85fb8d
commit
9d6eeace54
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ void MainWindow::toggleDisplayNotifyFromTray() {
|
|||
}
|
||||
|
||||
void MainWindow::closeEvent(QCloseEvent *e) {
|
||||
if (Core::Sandbox::Instance().isSavingSession()) {
|
||||
if (Core::Sandbox::Instance().isSavingSession() || Core::Quitting()) {
|
||||
e->accept();
|
||||
Core::Quit();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue