Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Jan 13, 2025
1 parent c17faf3 commit 943d11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion los_tools/gui/tools/los_digitizing_tool_with_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ def keyPressEvent(self, e: QKeyEvent) -> None:

def _set_snap_point(self, event: QgsMapMouseEvent) -> None:
result = self.canvas().snappingUtils().snapToMap(event.mapPoint())
self._snap_indicator.setMatch(result)

if result.isValid() and result.type() == QgsPointLocator.Vertex:
self._snap_point = result.point()
self._snap_indicator.setMatch(result)
else:
self._snap_point = None

Expand Down

0 comments on commit 943d11f

Please sign in to comment.