Skip to content

Commit

Permalink
Update ORStools/gui/ORStoolsDialog.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
merydian and nyalldawson committed May 10, 2024
1 parent 290a1b4 commit 01e2d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ORStools/gui/ORStoolsDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def _on_clear_listwidget_click(self) -> None:
if self.line_tool:
self.line_tool.canvas.scene().removeItem(self.line_tool.rubberBand)

def _linetool_annotate_point(self, point: QgsPointXY, idx: int, crs=None) -> QgsAnnotation:
def _linetool_annotate_point(self, point: QgsPointXY, idx: int, crs: Optional [QgsCoordinateReferenceSystem]=None) -> QgsAnnotation:
if not crs:
crs = self._iface.mapCanvas().mapSettings().destinationCrs()

Expand Down

0 comments on commit 01e2d18

Please sign in to comment.