diff --git a/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp b/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp index 0c430a5cf4e95a1e02f9dd085f6ac743b5892b53..28aa50654a75f4746b2fbffae835a0a2564cd215 100644 --- a/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp +++ b/MantidQt/CustomInterfaces/src/Muon/MuonAnalysis.cpp @@ -3124,6 +3124,16 @@ void MuonAnalysis::openSequentialFitDialog() { loadAlg = createLoadAlgorithm(); } + catch (const std::runtime_error &err) { + QString message("Error while setting load properties.\n" + "If instrument was changed, properties will have been " + "cleared and should be reset.\n\n" + "Error was: "); + message.append(err.what()); + QMessageBox::critical(this, "Unable to open dialog", message); + g_log.error(message.ascii()); + return; + } catch(...) { QMessageBox::critical(this, "Unable to open dialog", "Error while setting load properties");