[GRASS-SVN] r50365 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 21 13:58:41 EST 2012


Author: martinl
Date: 2012-01-21 10:58:41 -0800 (Sat, 21 Jan 2012)
New Revision: 50365

Modified:
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI/menu: fix histogramming tool


Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2012-01-21 18:33:10 UTC (rev 50364)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2012-01-21 18:58:41 UTC (rev 50365)
@@ -1192,9 +1192,10 @@
     def OnHistogram(self, event):
         """!Init histogram display canvas and tools
         """
+        from modules.histogram import HistogramFrame
         win = HistogramFrame(self)
         
-        win.CentreOnParent()
+        win.CentreOnScreen()
         win.Show()
         win.Refresh()
         win.Update()



More information about the grass-commit mailing list