Browse Source

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

Tomas Zigo 5 năm trước cách đây
mục cha
commit
3de1a5cbb1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)