Explorar el Código

wxGUI: color rules - fix preview - command layer type given as a list of commands
(merge from devbr6, https://trac.osgeo.org/grass/changeset/33335)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33336 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa hace 16 años
padre
commit
2e5dc7185b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gui/wxpython/gui_modules/colorrules.py

+ 1 - 1
gui/wxpython/gui_modules/colorrules.py

@@ -378,7 +378,7 @@ class ColorTable(wx.Frame):
         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