瀏覽代碼

wxGUI/GCP manager: fix OnPointer()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54273 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 年之前
父節點
當前提交
f7c51766de
共有 1 個文件被更改,包括 3 次插入0 次删除
  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"