Skip to content

Commit

Permalink
fix: remove merge-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
koebi committed Dec 22, 2023
1 parent 0efe2d2 commit 814ee20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ORStools/gui/ORStoolsDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,10 @@ def _on_clear_listwidget_click(self):
if self.line_tool:
self.line_tool.canvas.scene().removeItem(self.line_tool.rubberBand)

def _linetool_annotate_point(self, point, idx):
def _linetool_annotate_point(self, point, idx, crs=None):
if not crs:
crs = self._iface.mapCanvas().mapSettings().destinationCrs()

annotation = QgsTextAnnotation()

c = QTextDocument()
Expand Down

0 comments on commit 814ee20

Please sign in to comment.