diff --git a/MantidQt/CustomInterfaces/src/Indirect/Elwin.cpp b/MantidQt/CustomInterfaces/src/Indirect/Elwin.cpp index 8af559cceb72914714448052bc3f8d3a405a53b4..2ca587d79c0ae67c977dddc108a5a124bb4373bf 100644 --- a/MantidQt/CustomInterfaces/src/Indirect/Elwin.cpp +++ b/MantidQt/CustomInterfaces/src/Indirect/Elwin.cpp @@ -404,8 +404,14 @@ void Elwin::plotInput() { try { QPair<double, double> range = m_uiForm.ppPlot->getCurveRange("Sample"); + // Set maximum range of Integration m_uiForm.ppPlot->getRangeSelector("ElwinIntegrationRange") ->setRange(range.first, range.second); + // Set initial values + m_uiForm.ppPlot->getRangeSelector("ElwinIntegrationRange") + ->setMinimum(range.first); + m_uiForm.ppPlot->getRangeSelector("ElwinIntegrationRange") + ->setMaximum(range.second); } catch (std::invalid_argument &exc) { showMessageBox(exc.what()); }