Commit 8bd65dc1 authored by Cole Neubauer's avatar Cole Neubauer
Browse files

Importing Images now works after failing to Import Fixes #5015

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/branches/ipce@7852 41f8697f-d340-4b68-9986-7bafba869bb8
parent f8498ce4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -507,6 +507,10 @@ namespace Isis {
      // See http://doc.qt.io/qt-5/threads-technologies.html#comparison-of-solutions
      m_newImages->moveToThread(thread());

      if (m_newImages->isEmpty()) {
        folder.removeRecursively();
      }

      setInternalData(newInternalData);
    }
  }
+3 −1
Original line number Diff line number Diff line
@@ -67,8 +67,10 @@ namespace Isis {
   *                           asynchronous work order. Updated documentation. References #4732.
   *   @history 2017-05-01 Ian Humphrey - Updated undoExecution() so that when undo, imported
   *                           images are removed from the project tree. Fixes #4597.
   *   @history 2017-06-06 Cole Neubauer - Added ability to have cube lists without full file path
   *   @history 2017-07-06 Cole Neubauer - Added ability to have cube lists without full file path
   *                           Fixes #4956
   *   @history 2017-07-14 Cole Neubauer - Added ability successfully import after failing to import
   *                           a set or list of images Fixes #5015
   */
  class ImportImagesWorkOrder : public WorkOrder {
      Q_OBJECT