Commit 6b00e075 authored by Kaitlyn Lee's avatar Kaitlyn Lee
Browse files

Added colorizeSaveNetButton() call to set the save net button to black.

parent be441f51
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -48,6 +48,8 @@
#include "BundleSettings.h"
#include "BundleSolutionInfo.h"
#include "Camera.h"
#include "ControlPointEditView.h"
#include "ControlPointEditWidget.h"
#include "Control.h"
#include "ControlList.h"
#include "ControlNet.h"
@@ -2354,6 +2356,9 @@ namespace Isis {
        }
      }
      save(m_projectRoot->absolutePath(), false);

      // Recolors the save net button in controlPointEditView to black after the cnets are saved.
      m_directory->controlPointEditView()->controlPointEditWidget()->colorizeSaveNetButton(true);
    }

    return saveDialogCompleted;
+5 −4
Original line number Diff line number Diff line
@@ -280,10 +280,11 @@ namespace Isis {
   *                          being modified. This stopped any changes made to a nonactive cnet from
   *                          being saved and caused the active to be saved if a nonactive was
   *                          edited, even if it was not. Fixes #5414.
   *   @history 2018-07-13 Kaitlyn Lee - Added signal activeControlModified() that is emitted in
   *                          cnetModified() and is connected to Directory. This stops views from
   *                          being redrawn when any cnet is modified. Only the active should cause
   *                          this. Fixes #5396.
   *   @history 2018-07-13 Kaitlyn Lee - Added a call to colorizeSaveNetButton() in save() so that
   *                          the save net button goes back to black after the cnet is saved. Added
   *                          signal activeControlModified() that is emitted in cnetModified() and
   *                          is connected to Directory. This stops views from being redrawn when
   *                          any cnet is modified. Only the active should cause this. Fixes #5396.
   */
  class Project : public QObject {
    Q_OBJECT