Commit 64e48ad9 authored by Cole Neubauer's avatar Cole Neubauer
Browse files

Importing Cube list will now be more descriptive Fixes #5042

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/branches/ipce@7898 41f8697f-d340-4b68-9986-7bafba869bb8
parent 3c7c70b5
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -182,7 +182,11 @@ namespace Isis {
    if (fileNames.count() > 1) {
      QUndoCommand::setText(tr("Import %1 Images").arg(stateToSave.count() - 1));
    }
    else if (fileNames.count() == 1) {
    else if (fileNames.count() == 1 && stateToSave.count() > 2) {
      QUndoCommand::setText(tr("Import %1 Images from %2").arg(
                    QString::number(stateToSave.count() - 1), fileNames.first()));
    }
    else {
      QUndoCommand::setText(tr("Import %1").arg(fileNames.first()));
    }

+2 −0
Original line number Diff line number Diff line
@@ -71,6 +71,8 @@ namespace Isis {
   *                           Fixes #4956
   *   @history 2017-07-14 Cole Neubauer - Added ability successfully import after failing to import
   *                           a set or list of images Fixes #5015
   *   @history 2017-07-14 Cole Neubauer - Made import statement more descriptive when importing a
   *                           cube list Fixes #5042
   *   @history 2017-07-17 Makayla Shepherd - Added isExecutable(ProjectItem) to allow for importing
   *                           in the context menu. Fixes #4968.
   *   @history 2017-07-25 Cole Neubauer - Added project()->setClean call #4969