Explorar o 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 %!s(int64=16) %!d(string=hai) anos
pai
achega
2e5dc7185b
Modificáronse 1 ficheiros con 1 adicións e 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