Loading isis/src/qisis/objs/Directory/OpenProjectWorkOrder.cpp +7 −10 Original line number Diff line number Diff line Loading @@ -152,21 +152,18 @@ namespace Isis { if (!m_projectPath.isEmpty()) { QUndoCommand::setText(tr("Open Project [%1]").arg(m_projectPath)); } else { success = false; } } else { m_projectPath = toolTip(); //We are dealing with a recent project } } else { success = false; } return success; } Loading isis/src/qisis/objs/Directory/OpenProjectWorkOrder.h +2 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,8 @@ namespace Isis { * @history 2017-11-09 Tyler Wilson - Made changes to isExecutable() to import functionality * needed in OpenRecentProjectWorkOrder into OpenProjectWorkOrder * since OpenRecentProjectWorker is being deleted. Fixes #5220. * @history 2018-06-14 Makayla Shepherd - Added an else so that when someone cancels the dialog * it will cancel properly. */ class OpenProjectWorkOrder : public WorkOrder { Q_OBJECT Loading Loading
isis/src/qisis/objs/Directory/OpenProjectWorkOrder.cpp +7 −10 Original line number Diff line number Diff line Loading @@ -152,21 +152,18 @@ namespace Isis { if (!m_projectPath.isEmpty()) { QUndoCommand::setText(tr("Open Project [%1]").arg(m_projectPath)); } else { success = false; } } else { m_projectPath = toolTip(); //We are dealing with a recent project } } else { success = false; } return success; } Loading
isis/src/qisis/objs/Directory/OpenProjectWorkOrder.h +2 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,8 @@ namespace Isis { * @history 2017-11-09 Tyler Wilson - Made changes to isExecutable() to import functionality * needed in OpenRecentProjectWorkOrder into OpenProjectWorkOrder * since OpenRecentProjectWorker is being deleted. Fixes #5220. * @history 2018-06-14 Makayla Shepherd - Added an else so that when someone cancels the dialog * it will cancel properly. */ class OpenProjectWorkOrder : public WorkOrder { Q_OBJECT Loading