Commit 0156afc7 authored by Ken Edmundson's avatar Ken Edmundson
Browse files

PROG: modified BundleSolutionInfo::save method to properly save output control file

parent ba9da100
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -1595,16 +1595,8 @@ namespace Isis {
                             .arg(bundleSolutionInfoRoot.path()),
                           _FILEINFO_);
        }
        QString oldFile = oldPath + "/" + m_inputControlNetFileName->name();
        QString newFile = newPath + "/" + m_inputControlNetFileName->name();
        if (!QFile::copy(oldFile, newFile)) {
          throw IException(IException::Io,
                           QString("Failed to copy file [%1] to new file [%2]")
                             .arg(m_inputControlNetFileName->name()).arg(newFile),
                           _FILEINFO_);
        }
        oldFile = oldPath + "/" + m_outputControl->fileName();
        newFile = newPath + "/" + m_outputControl->fileName();
        QString oldFile = oldPath + "/" + FileName(m_outputControl->fileName()).name();
        QString newFile = newPath + "/" + FileName(m_outputControl->fileName()).name();
        if (!QFile::copy(oldFile, newFile)) {
          throw IException(IException::Io,
                           QString("Failed to copy file [%1] to new file [%2]")