Skip to content

Commit

Permalink
properly clean he tool
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Nov 13, 2024
1 parent 5dc54d5 commit 582261f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions los_tools/gui/create_los_tool/create_los_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def clean(self) -> None:
if self._widget:
self._widget.setAddLoSEnabled(False)
self._start_point = None
self._last_towards_point = None

def canvasReleaseEvent(self, e: QgsMapMouseEvent) -> None:
if e.button() == Qt.RightButton and self._start_point is None and self._los_rubber_band.size() == 0:
Expand Down

0 comments on commit 582261f

Please sign in to comment.