Explorar el Código

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

Tomas Zigo hace 5 años
padre
commit
3de1a5cbb1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)