Commit 94ec1d36 authored by Curtis Rose's avatar Curtis Rose
Browse files

Fixed Gui.cpp where internal defaults were not being accurately represented in...

Fixed Gui.cpp where internal defaults were not being accurately represented in the history using -last using the commandline or the arrows in the GUI. Fixes #805.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@6783 41f8697f-d340-4b68-9986-7bafba869bb8
parent 413e6191
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -705,6 +705,9 @@ namespace Isis {
    int useEntry = entries - p_historyEntry - 1;

    try {
      //When defaults are used they do not get rewritten because they do not
      //exist in the history file to be written over. Must reset parameters first.
      ResetParameters();
      Isis::PvlGroup &up = hist.group(useEntry); 
      for(int k = 0; k < up.keywords(); k++) {
        QString key = up[k].name();