[GRASS-SVN] r33336 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 8 17:25:51 EDT 2008


Author: martinl
Date: 2008-09-08 17:25:51 -0400 (Mon, 08 Sep 2008)
New Revision: 33336

Modified:
   grass/trunk/gui/wxpython/gui_modules/colorrules.py
Log:
wxGUI: color rules - fix preview - command layer type given as a list of commands
(merge from devbr6, r33335)


Modified: grass/trunk/gui/wxpython/gui_modules/colorrules.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/colorrules.py	2008-09-08 21:23:32 UTC (rev 33335)
+++ grass/trunk/gui/wxpython/gui_modules/colorrules.py	2008-09-08 21:25:51 UTC (rev 33336)
@@ -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