[GRASS-SVN] r33335 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 8 17:23:32 EDT 2008


Author: martinl
Date: 2008-09-08 17:23:32 -0400 (Mon, 08 Sep 2008)
New Revision: 33335

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/colorrules.py
Log:
wxGUI: color rules - fix preview - command layer type given as a list of commands


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/colorrules.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/colorrules.py	2008-09-08 16:47:11 UTC (rev 33334)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/colorrules.py	2008-09-08 21:23:32 UTC (rev 33335)
@@ -378,7 +378,7 @@
         else:
             return
         
-        self.layer = self.Map.AddLayer(type="command", name='raster', command=cmdlist,
+        self.layer = self.Map.AddLayer(type="command", name='raster', command=[cmdlist],
                                        l_active=True, l_hidden=False, l_opacity=1, l_render=False)        
         
         # apply new color table and display preview



More information about the grass-commit mailing list