Commit 0bb02c82 authored by Tracie Sucharski's avatar Tracie Sucharski
Browse files

Ipce: Set Active ImageList no longer a choice on individual images, only on an...

Ipce: Set Active ImageList no longer a choice on individual images, only on an image list. Fixes #5138
parent a3f8df15
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -76,10 +76,9 @@ namespace Isis {
   * @return  @b bool True if  we can set as active, False otherwise.
   */
  bool SetActiveImageListWorkOrder::isExecutable(ImageList *imageList) {

    if(!imageList)
    if (imageList->name() == "") {
      return false;

    }
    if (project()->activeImageList()) {
      if (project()->activeImageList()->name() == imageList->name()) {
        return false;