diff --git a/gui/wxpython/vdigit/wxdisplay.py b/gui/wxpython/vdigit/wxdisplay.py index 727d18055a0..f3aca2c6a61 100644 --- a/gui/wxpython/vdigit/wxdisplay.py +++ b/gui/wxpython/vdigit/wxdisplay.py @@ -856,7 +856,7 @@ def GetSelectedVertex(self, pos): if not self._validLine(line): return -1 - Vect_read_line(poMapInfo, self.poPoints, self.poCats, lineNearest) + Vect_read_line(poMapInfo, self.poPoints, self.poCats, line) minDist = 0.0 Gid = -1