diff --git a/MantidPlot/src/ProjectRecovery.cpp b/MantidPlot/src/ProjectRecovery.cpp
index 5227767454d0ceb64e7a5efc6cd1bc17d08bafc6..7c589ff7166eb6f7834637d753584b86487642c0 100644
--- a/MantidPlot/src/ProjectRecovery.cpp
+++ b/MantidPlot/src/ProjectRecovery.cpp
@@ -252,21 +252,23 @@ ProjectRecovery::ProjectRecovery(ApplicationWindow *windowHandle)
       m_windowPtr(windowHandle) {}
 
 /// Destructor which also stops any background threads currently in progress
-ProjectRecovery::~ProjectRecovery() { stopProjectSaving(); 
-delete m_recoveryGui;}
+ProjectRecovery::~ProjectRecovery() {
+  stopProjectSaving();
+  delete m_recoveryGui;
+}
 
 void ProjectRecovery::attemptRecovery() {
   Mantid::Kernel::UsageService::Instance().registerFeatureUsage(
       "Feature", "ProjectRecovery->AttemptRecovery", true);
+
   m_recoveryGui = new ProjectRecoveryPresenter(this, m_windowPtr);
-  //bool failed = m_recoveryGui->startRecoveryView();
+  bool failed = m_recoveryGui->startRecoveryView();
 
-  //if (failed) {
-      //while (failed){
-        //failed = 
-        m_recoveryGui->startRecoveryFailure();
-      //}
-  //}
+  if (failed) {
+    while (failed) {
+      failed = m_recoveryGui->startRecoveryFailure();
+    }
+  }
 }
 
 bool ProjectRecovery::checkForRecovery() const noexcept {
@@ -689,7 +691,7 @@ std::vector<Poco::Path> ProjectRecovery::getListOfFoldersInDirectoryPR(
   return getListOfFoldersInDirectory(recoveryFolderPath);
 }
 
-std::string ProjectRecovery::getRecoveryFolderCheckPR(){
+std::string ProjectRecovery::getRecoveryFolderCheckPR() {
   return getRecoveryFolderCheck();
 }
 
@@ -697,7 +699,8 @@ std::string ProjectRecovery::getRecoveryFolderLoadPR() {
   return getRecoveryFolderLoad();
 }
 
-std::vector<Poco::Path> ProjectRecovery::getRecoveryFolderCheckpointsPR(const std::string &recoveryFolderPath){
+std::vector<Poco::Path> ProjectRecovery::getRecoveryFolderCheckpointsPR(
+    const std::string &recoveryFolderPath) {
   return getRecoveryFolderCheckpoints(recoveryFolderPath);
 }