[GRASS-SVN] r54020 - grass/trunk/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Nov 24 23:25:59 PST 2012


Author: annakrat
Date: 2012-11-24 23:25:59 -0800 (Sat, 24 Nov 2012)
New Revision: 54020

Modified:
   grass/trunk/gui/wxpython/modules/histogram.py
Log:
wxGUI/histogram: fix launching histogram tool (merge from releasebranch, r54018)

Modified: grass/trunk/gui/wxpython/modules/histogram.py
===================================================================
--- grass/trunk/gui/wxpython/modules/histogram.py	2012-11-25 07:24:08 UTC (rev 54019)
+++ grass/trunk/gui/wxpython/modules/histogram.py	2012-11-25 07:25:59 UTC (rev 54020)
@@ -310,7 +310,7 @@
         self.printopt = PrintOptions(self, self.HistWindow)
         
         # Add layer to the map
-        self.layer = self.Map.AddLayer(type = "command", name = 'histogram', command = ['d.histogram'],
+        self.layer = self.Map.AddLayer(type = "command", name = 'histogram', command = [['d.histogram']],
                                        l_active = False, l_hidden = False, l_opacity = 1, l_render = False)
         if self.mapname:
             self.SetHistLayer(self.mapname, None)



More information about the grass-commit mailing list