Browse Source

wxGUI/GCP manager: fix OnPointer()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54273 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 years ago
parent
commit
f7c51766de
1 changed files with 3 additions and 0 deletions
  1. 3 0
      gui/wxpython/gcp/mapdisplay.py

+ 3 - 0
gui/wxpython/gcp/mapdisplay.py

@@ -304,6 +304,9 @@ class MapFrame(SingleMapFrame):
     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"