浏览代码

wxGUI mapwin: fix Pointer tool double left click on a map canvas (#529)

Tomas Zigo 5 年之前
父节点
当前提交
d28596b552
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/mapwin/buffered.py

+ 1 - 1
gui/wxpython/mapwin/buffered.py

@@ -1615,7 +1615,7 @@ class BufferedMapWindow(MapWindowBase, Window):
                 screenCoords[0],
                 screenCoords[1],
                 self.hitradius)
-            if idlist:
+            if idlist and idlist[0] != 99:
                 self.dragid = idlist[0]
                 self.overlayActivated.emit(overlayId=self.dragid)