Loading isis/src/qisis/objs/Directory/ControlHealthMonitorWorkOrder.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -79,8 +79,8 @@ namespace Isis { * @param controls (ControlList *) The ControlList chosen from the project tree. * @return @b bool True if we can set as active, False otherwise. */ bool ControlHealthMonitorWorkOrder::isExecutable() { return !project()->activeControl(); bool ControlHealthMonitorWorkOrder::isExecutable(ControlList *controls) { return !!controls; } /** Loading @@ -92,7 +92,7 @@ namespace Isis { bool success = WorkOrder::setupExecution(); if (success) { if (!project()->activeControl()) { if (!isExecutable(controlList())) { QMessageBox::critical(NULL, tr("Unable to load Control Net Health Monitor."), tr("You must first set an active control in order to view the health monitor.")); Loading isis/src/qisis/objs/Directory/Directory.cpp +1 −1 File changed.Contains only whitespace changes. Show changes Loading
isis/src/qisis/objs/Directory/ControlHealthMonitorWorkOrder.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -79,8 +79,8 @@ namespace Isis { * @param controls (ControlList *) The ControlList chosen from the project tree. * @return @b bool True if we can set as active, False otherwise. */ bool ControlHealthMonitorWorkOrder::isExecutable() { return !project()->activeControl(); bool ControlHealthMonitorWorkOrder::isExecutable(ControlList *controls) { return !!controls; } /** Loading @@ -92,7 +92,7 @@ namespace Isis { bool success = WorkOrder::setupExecution(); if (success) { if (!project()->activeControl()) { if (!isExecutable(controlList())) { QMessageBox::critical(NULL, tr("Unable to load Control Net Health Monitor."), tr("You must first set an active control in order to view the health monitor.")); Loading
isis/src/qisis/objs/Directory/Directory.cpp +1 −1 File changed.Contains only whitespace changes. Show changes