Skip to content

Commit

Permalink
Allow single spectra in diagnostics
Browse files Browse the repository at this point in the history
Refs #10264
  • Loading branch information
DanNixon committed Oct 1, 2014
1 parent 5e0de9f commit cba5887
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -180,7 +180,7 @@ namespace CustomInterfaces
}

// Check spectra range
auto specRange = std::make_pair(m_dblManager->value(m_properties["SpecMin"]), m_dblManager->value(m_properties["SpecMax"]));
auto specRange = std::make_pair(m_dblManager->value(m_properties["SpecMin"]), m_dblManager->value(m_properties["SpecMax"]) + 1);
uiv.checkValidRange("Spectra Range", specRange);

QString error = uiv.generateErrorMessage();
Expand Down

0 comments on commit cba5887

Please sign in to comment.