Skip to content

Commit

Permalink
Refs #4622 - Files are never appended. Multi files still supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterParker committed Jan 27, 2012
1 parent 23f07d9 commit c0f743b
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions Code/Mantid/MantidQt/MantidWidgets/src/MWRunFiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -732,21 +732,8 @@ void MWRunFiles::browseClicked()
QString uFile = openFileDialog();
if( uFile.trimmed().isEmpty() ) return;

if( this->allowMultipleFiles() )
{
if ( !m_uiForm.fileEditor->text().isEmpty() )
{
m_uiForm.fileEditor->setText(m_uiForm.fileEditor->text()+", " + uFile);
}
else
{
m_uiForm.fileEditor->setText(uFile);
}
}
else
{
m_uiForm.fileEditor->setText(uFile);
}
m_uiForm.fileEditor->setText(uFile);

emit fileEditingFinished();
}
/** Currently just checks that entryNum contains an int > 0 and hence might be a
Expand Down

0 comments on commit c0f743b

Please sign in to comment.