Explorar o código

wxGUI/histogram: fix launching histogram tool (merge from releasebranch, https://trac.osgeo.org/grass/changeset/54018)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54020 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová %!s(int64=12) %!d(string=hai) anos
pai
achega
bc8028d338
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/modules/histogram.py

+ 1 - 1
gui/wxpython/modules/histogram.py

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