[GRASS-SVN] r54273 - grass/trunk/gui/wxpython/gcp

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 13 07:11:26 PST 2012


Author: martinl
Date: 2012-12-13 07:11:25 -0800 (Thu, 13 Dec 2012)
New Revision: 54273

Modified:
   grass/trunk/gui/wxpython/gcp/mapdisplay.py
Log:
wxGUI/GCP manager: fix OnPointer()


Modified: grass/trunk/gui/wxpython/gcp/mapdisplay.py
===================================================================
--- grass/trunk/gui/wxpython/gcp/mapdisplay.py	2012-12-13 10:31:14 UTC (rev 54272)
+++ grass/trunk/gui/wxpython/gcp/mapdisplay.py	2012-12-13 15:11:25 UTC (rev 54273)
@@ -304,6 +304,9 @@
     def OnPointer(self, event):
         """!Pointer button clicked
         """
+        self.toolbars['gcpdisp'].OnTool(event)
+        self.toolbars['gcpdisp'].action['desc'] = ''
+        
         # change the cursor
         self.SrcMapWindow.SetCursor(self.cursors["cross"])
         self.SrcMapWindow.mouse['use'] = "pointer"



More information about the grass-commit mailing list