Skip to content

Commit

Permalink
Fix file loading on Direct Convert to Energy
Browse files Browse the repository at this point in the history
Refs #11049
  • Loading branch information
DanNixon committed Feb 16, 2015
1 parent 29ce124 commit c695867
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -233,6 +233,14 @@ void DirectConvertToEnergy::instrumentLoadingDone(bool error)
*/
void DirectConvertToEnergy::userSelectInstrument(const QString& prefix)
{
// Search for files for the current selected instrument
m_uiForm.runFiles->setInstrumentOverride(prefix);
m_uiForm.mapFile->setInstrumentOverride(prefix);
m_uiForm.whiteBeamFile->setInstrumentOverride(prefix);
m_uiForm.absRunFiles->setInstrumentOverride(prefix);
m_uiForm.absMapFile->setInstrumentOverride(prefix);
m_uiForm.absWhiteFile->setInstrumentOverride(prefix);

if ( prefix != m_curInterfaceSetup )
{
// Remove the old empty instrument workspace if it is there
Expand Down

0 comments on commit c695867

Please sign in to comment.