Skip to content

Commit

Permalink
Refs #5421 Setting upper limits for Sigma/Beta in Stretch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Sep 18, 2013
1 parent fb774d9 commit bf863df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Code/Mantid/MantidQt/CustomInterfaces/src/Stretch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@ namespace MantidQt

//default values
m_dblManager->setValue(m_properties["Sigma"], 50);
m_dblManager->setMinimum(m_properties["Sigma"], 1);
m_dblManager->setMaximum(m_properties["Sigma"], 200);
m_dblManager->setValue(m_properties["Beta"], 50);
m_dblManager->setMinimum(m_properties["Beta"], 1);
m_dblManager->setMaximum(m_properties["Beta"], 200);
m_dblManager->setValue(m_properties["SampleBinning"], 1);
m_dblManager->setMinimum(m_properties["SampleBinning"], 1);

//Connect the data selector for the sample to the mini plot
connect(m_uiForm.dsSample, SIGNAL(dataReady(const QString&)), this, SLOT(handleSampleInputReady(const QString&)));
Expand Down

0 comments on commit bf863df

Please sign in to comment.