[GRASS-SVN] r54936 - grass/trunk/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 5 08:27:32 PST 2013


Author: annakrat
Date: 2013-02-05 08:27:31 -0800 (Tue, 05 Feb 2013)
New Revision: 54936

Modified:
   grass/trunk/gui/wxpython/mapdisp/frame.py
   grass/trunk/gui/wxpython/mapdisp/overlays.py
Log:
wxGUI: fix moving overlays in d.mon

Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py	2013-02-05 15:31:53 UTC (rev 54935)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py	2013-02-05 16:27:31 UTC (rev 54936)
@@ -1400,4 +1400,4 @@
                 if event.GetEventObject().GetId() == \
                         self.dialogs['legend'].resizeBtn.GetId():
                     return
-            self.dialogs['legend'].FindWindowByName('resize').SetValue(0)
+            self.dialogs['legend'].resizeBtn.SetValue(0)

Modified: grass/trunk/gui/wxpython/mapdisp/overlays.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/overlays.py	2013-02-05 15:31:53 UTC (rev 54935)
+++ grass/trunk/gui/wxpython/mapdisp/overlays.py	2013-02-05 16:27:31 UTC (rev 54936)
@@ -105,7 +105,7 @@
 
     def _update(self):
         self._renderer.ChangeOverlay(id = self._id, command = self._cmd,
-                                     render = True)
+                                     render = False)
 
 
 class BarscaleController(OverlayController):



More information about the grass-commit mailing list