[GRASS-SVN] r67969 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 27 13:20:08 PST 2016


Author: annakrat
Date: 2016-02-27 13:20:08 -0800 (Sat, 27 Feb 2016)
New Revision: 67969

Modified:
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI: fix undefined variable from r67864

Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2016-02-27 21:11:37 UTC (rev 67968)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2016-02-27 21:20:08 UTC (rev 67969)
@@ -1936,7 +1936,7 @@
             return
 
         if not self.currentPage:
-            self.AddMaps([mapName], grassType, check = True)
+            self.AddMaps([mapName], ltype, check=True)
         else:
             display = self.GetMapDisplay()
             mapLayers = map(lambda x: x.GetName(),
@@ -1944,7 +1944,7 @@
             if mapName in mapLayers:
                 display.GetWindow().UpdateMap(render = True)
             else:
-                self.AddMaps([mapName], grassType, check = True)
+                self.AddMaps([mapName], ltype, check=True)
 
     def OnAddRaster(self, event):
         """Add raster map layer"""



More information about the grass-commit mailing list