Maybe fixing issue #1602 (#1621)

Co-authored-by: Matthias Koefferlein <matthias@klayout.de>
This commit is contained in:
Matthias Köfferlein 2024-02-12 08:40:23 +01:00 committed by GitHub
parent a1c08c0f89
commit a4ab59ba6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -1489,7 +1489,11 @@ MainWindow::closeEvent (QCloseEvent *event)
END_PROTECTED
}
event->ignore ();
if (! m_exited) {
event->ignore ();
} else {
event->accept ();
}
}
void