Skip to content

Commit

Permalink
Refs #8421. Make DTC type be set to None if error occurs.
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbekasov committed Nov 12, 2013
1 parent 0362116 commit 51abbcd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Code/Mantid/MantidQt/CustomInterfaces/src/MuonAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,10 @@ void MuonAnalysis::inputFileChanged(const QStringList& files)
catch(std::exception& e)
{
QString errorMsg(e.what());
errorMsg += "\n\nNo Dead Time correction applied.";
errorMsg += "\n\nNo Dead Time correction applied.\n\nReset to None.";

// Set DTC type to None
m_uiForm.deadTimeType->setCurrentIndex(0);

QMessageBox::warning(this, "Mantid - MuonAnalysis", errorMsg);
}
Expand Down

0 comments on commit 51abbcd

Please sign in to comment.