[GRASS-SVN] r49901 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 25 14:18:59 EST 2011


Author: martinl
Date: 2011-12-25 11:18:59 -0800 (Sun, 25 Dec 2011)
New Revision: 49901

Modified:
   grass/trunk/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: remove unused code


Modified: grass/trunk/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/goutput.py	2011-12-25 18:32:53 UTC (rev 49900)
+++ grass/trunk/gui/wxpython/gui_core/goutput.py	2011-12-25 19:18:59 UTC (rev 49901)
@@ -479,13 +479,6 @@
             finally:
                 fileHistory.close()
         
-        # update history items
-        if self.parent.GetName() == 'LayerManager':
-            try:
-                self.parent.cmdinput.SetHistoryItems()
-            except AttributeError:
-                pass
-        
         if command[0] in globalvar.grassCmd['all']:
             # send GRASS command without arguments to GUI command interface
             # except display commands (they are handled differently)



More information about the grass-commit mailing list