diff --git a/Code/Mantid/MantidQt/CustomInterfaces/src/SANSRunWindow.cpp b/Code/Mantid/MantidQt/CustomInterfaces/src/SANSRunWindow.cpp
index 2d6daa0..22c635d 100644
a
|
b
|
QString SANSRunWindow::readUserFileGUIChanges(const States type) |
2018 | 2018 | exec_reduce += ", False"; |
2019 | 2019 | } |
2020 | 2020 | exec_reduce += ")\n"; |
| 2021 | if ( ( m_uiForm.enableRearFlood_ck->isChecked() && (!m_uiForm.floodRearFile->isValid()) ) || |
| 2022 | ( m_uiForm.enableFrontFlood_ck->isChecked() && (!m_uiForm.floodFrontFile->isValid()) ) |
| 2023 | ) |
| 2024 | { |
| 2025 | throw std::runtime_error("Invalid flood file. Please, check the path given to the Flood file in Reduction Settings tab."); |
| 2026 | } |
2021 | 2027 | QString floodRearFile = |
2022 | 2028 | m_uiForm.enableRearFlood_ck->isChecked() ? m_uiForm.floodRearFile->getFirstFilename().trimmed() : ""; |
2023 | 2029 | QString floodFrontFile = |