[GRASS-SVN] r54019 - grass/branches/develbranch_6/gui/wxpython/modules

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


Author: annakrat
Date: 2012-11-24 23:24:08 -0800 (Sat, 24 Nov 2012)
New Revision: 54019

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

Modified: grass/branches/develbranch_6/gui/wxpython/modules/histogram.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/modules/histogram.py	2012-11-25 07:17:37 UTC (rev 54018)
+++ grass/branches/develbranch_6/gui/wxpython/modules/histogram.py	2012-11-25 07:24:08 UTC (rev 54019)
@@ -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