Skip to content

Commit

Permalink
Refs #5421 Missed quotes for string background parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Sep 24, 2013
1 parent f9bd37a commit 38c12ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/CustomInterfaces/src/Quasi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ namespace MantidQt
resNormFile = m_uiForm.dsResNorm->getCurrentDataName();
}

QString fitOps = "[" + elasticPeak + ", " + background + ", " + fixedWidth + ", " + useResNorm + "]";
QString fitOps = "[" + elasticPeak + ", '" + background + "', " + fixedWidth + ", " + useResNorm + "]";

//Collect input from the properties browser
QString eMin = m_properties["EMin"]->valueText();
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/MantidQt/CustomInterfaces/src/Stretch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ namespace MantidQt
if(m_uiForm.chkElasticPeak->isChecked()) { elasticPeak = "True"; }
if(m_uiForm.chkSequentialFit->isChecked()) { sequence = "True"; }

QString fitOps = "[" + elasticPeak + ", " + background + ", 0, 0]";
QString fitOps = "[" + elasticPeak + ", '" + background + "', 0, 0]";

//Collect input from the properties browser
QString eMin = m_properties["EMin"]->valueText();
Expand Down

0 comments on commit 38c12ec

Please sign in to comment.