Commit ccc57499 authored by Cole Neubauer's avatar Cole Neubauer
Browse files

Save As will now work properly #5103

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/branches/ipce@7973 41f8697f-d340-4b68-9986-7bafba869bb8
parent d250c946
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ namespace Isis {
    QString destination = internalData().first();
    if (!destination.isEmpty()) {
      project()->save(destination);
      project()->setClean(false);
      project()->open(destination);
    }
  }
}
+4 −0
Original line number Diff line number Diff line
@@ -43,6 +43,10 @@ namespace Isis {
   *                           WorkOrder. Separated setup and execution steps into setupExecution
   *                           and execution(). Fixes #4763.
   *   @history 2017-07-25 Cole Neubauer - Added project()->setClean call #4969
   *   @history 2017-08-08 Cole Neubauer - Removed project()->setClean call because
   *                            project()->open() calls clear() which changes it appropriately,
   *                            added open call in execution to load the newly saved project #5103
   *
   */
  class SaveProjectAsWorkOrder : public WorkOrder {
      Q_OBJECT