Loading isis/src/qisis/objs/Directory/Directory.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -673,7 +673,9 @@ namespace Isis { mainWidget->pointTableView()->content()->setActiveControlNet(true); mainWidget->measureTableView()->content()->setActiveControlNet(true); } connect( result, SIGNAL( destroyed(QObject *) ), // connect destroyed signal for mainWidget to cleanupCnetEditorViewWidgets slot connect(mainWidget, SIGNAL( destroyed(QObject *) ), this, SLOT( cleanupCnetEditorViewWidgets(QObject *) ) ); // Connections for control point editing between views Loading isis/src/qisis/objs/Directory/Directory.h +5 −0 Original line number Diff line number Diff line Loading @@ -206,6 +206,11 @@ namespace Isis { * projects. Fixes #5216. * @history 2017-12-05 Christopher Combs - Added support for TemplateEditorWidget and * TemplateEditViewWorkOrder. Fixes #5168. * @history 2018-03-14 Ken Edmundson - Modified addCnetEditorView method to connect the * destroyed signal for the CnetEditorWidget "mainWidget" to the * cleanupCnetEditorViewWidgets signal cleanupCnetEditorViewWidgets. * Previously the destroyed signal was connected to the QMainWidget * "result". */ class Directory : public QObject { Q_OBJECT Loading isis/src/qisis/objs/Project/Project.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -2145,6 +2145,12 @@ namespace Isis { deleteAllProjectFiles(); relocateProjectRoot(newDestination); m_isTemporaryProject = false; // 2014-03-14 kle This is a lame kludge because we think that relocateProjectRoot is not // working properly. For example, when we save a new project and try to view a control net // the it thinks it's still in the /tmp area // see ticket #5292 open(newDestination); } // Dialog was cancelled else { Loading isis/src/qisis/objs/Project/Project.h +4 −0 Original line number Diff line number Diff line Loading @@ -221,6 +221,10 @@ namespace Isis { * Corrected the setting of the project root when pening a project from * the command line. Removed m_projectPath, it is no longer needed since * m_projectRoot contains the correct path. References #5104. * @history 2018-03-14 Ken Edmundson - Modified save method to reopen project if we are saving * a temporary project to ensure all project files are pointing to the * correct directory. Note that this is NOT ideal, particularly it the * project has many files. */ class Project : public QObject { Q_OBJECT Loading Loading
isis/src/qisis/objs/Directory/Directory.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -673,7 +673,9 @@ namespace Isis { mainWidget->pointTableView()->content()->setActiveControlNet(true); mainWidget->measureTableView()->content()->setActiveControlNet(true); } connect( result, SIGNAL( destroyed(QObject *) ), // connect destroyed signal for mainWidget to cleanupCnetEditorViewWidgets slot connect(mainWidget, SIGNAL( destroyed(QObject *) ), this, SLOT( cleanupCnetEditorViewWidgets(QObject *) ) ); // Connections for control point editing between views Loading
isis/src/qisis/objs/Directory/Directory.h +5 −0 Original line number Diff line number Diff line Loading @@ -206,6 +206,11 @@ namespace Isis { * projects. Fixes #5216. * @history 2017-12-05 Christopher Combs - Added support for TemplateEditorWidget and * TemplateEditViewWorkOrder. Fixes #5168. * @history 2018-03-14 Ken Edmundson - Modified addCnetEditorView method to connect the * destroyed signal for the CnetEditorWidget "mainWidget" to the * cleanupCnetEditorViewWidgets signal cleanupCnetEditorViewWidgets. * Previously the destroyed signal was connected to the QMainWidget * "result". */ class Directory : public QObject { Q_OBJECT Loading
isis/src/qisis/objs/Project/Project.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -2145,6 +2145,12 @@ namespace Isis { deleteAllProjectFiles(); relocateProjectRoot(newDestination); m_isTemporaryProject = false; // 2014-03-14 kle This is a lame kludge because we think that relocateProjectRoot is not // working properly. For example, when we save a new project and try to view a control net // the it thinks it's still in the /tmp area // see ticket #5292 open(newDestination); } // Dialog was cancelled else { Loading
isis/src/qisis/objs/Project/Project.h +4 −0 Original line number Diff line number Diff line Loading @@ -221,6 +221,10 @@ namespace Isis { * Corrected the setting of the project root when pening a project from * the command line. Removed m_projectPath, it is no longer needed since * m_projectRoot contains the correct path. References #5104. * @history 2018-03-14 Ken Edmundson - Modified save method to reopen project if we are saving * a temporary project to ensure all project files are pointing to the * correct directory. Note that this is NOT ideal, particularly it the * project has many files. */ class Project : public QObject { Q_OBJECT Loading