diff --git a/Code/Mantid/MantidQt/MantidWidgets/src/MuonFitPropertyBrowser.cpp b/Code/Mantid/MantidQt/MantidWidgets/src/MuonFitPropertyBrowser.cpp index 19b78b15157d6cf7db194c83df7228f9d3657154..8a184cc9fb2596de69f597f847d7f523b96565c0 100644 --- a/Code/Mantid/MantidQt/MantidWidgets/src/MuonFitPropertyBrowser.cpp +++ b/Code/Mantid/MantidQt/MantidWidgets/src/MuonFitPropertyBrowser.cpp @@ -111,12 +111,22 @@ void MuonFitPropertyBrowser::init() // Custom settings that are specific and asked for by the muon scientists. QtProperty* customSettingsGroup = m_groupManager->addProperty("Settings"); + m_rawData = m_boolManager->addProperty("Fit To Raw Data"); bool data = settings.value("Fit To Raw Data",QVariant(false)).toBool(); m_boolManager->setValue(m_rawData,data); + + m_showParamErrors = m_boolManager->addProperty("Show Parameter Errors"); + // XXX: showParamErrors is true by default for Muons + bool showParamErrors = settings.value(m_showParamErrors->propertyName(), true).toBool(); + m_boolManager->setValue(m_showParamErrors, showParamErrors); + m_parameterManager->setErrorsEnabled(showParamErrors); + customSettingsGroup->addSubProperty(m_minimizer); customSettingsGroup->addSubProperty(m_plotDiff); customSettingsGroup->addSubProperty(m_rawData); + customSettingsGroup->addSubProperty(m_showParamErrors); + m_customSettingsGroup = m_browser->addProperty(customSettingsGroup); // Initialise the layout.