Commit 24c83377 authored by Adam Goins's avatar Adam Goins Committed by Makayla Shepherd
Browse files

Modified MatchTool to display the name of the newly saved file as the current...

Modified MatchTool to display the name of the newly saved file as the current file in the GUI window.
parent 19a4b1fa
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -1391,6 +1391,11 @@ namespace Isis {

  /**
   * Signal to save the control net.
   *
   * @internal
   * @history 2017-11-22 Adam Goins - Set the MatchTool window title and
   *                         the CNet file name label to the newly saved file.
   *                         Fixes #3922.
   */
  void MatchTool::saveAsNet() {

@@ -1410,6 +1415,8 @@ namespace Isis {
        return;
      }
      m_cnetFileName = fn;
      m_matchTool->setWindowTitle("Match Tool - Control Network File: " + m_cnetFileName);
      m_cnetFileNameLabel->setText("Control Network: " + m_cnetFileName);
    }
    //The user cancelled, or the filename is empty
    else {