diff --git a/src/Gui/DocumentRecovery.cpp b/src/Gui/DocumentRecovery.cpp index 7ce272563b..bbc9c1d0de 100644 --- a/src/Gui/DocumentRecovery.cpp +++ b/src/Gui/DocumentRecovery.cpp @@ -229,10 +229,9 @@ QString DocumentRecovery::createProjectFile(const QString& documentXml) void DocumentRecovery::closeEvent(QCloseEvent* e) { - Q_D(DocumentRecovery); - - if (!d->recoveryInfo.isEmpty()) - e->ignore(); + // Do not disable the X button in the title bar + // #0004281: Close Documant Recovery + e->accept(); } void DocumentRecovery::accept()