Skip to content

Commit

Permalink
style: run ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed Jan 29, 2024
1 parent 718480a commit 7a3ecbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ORStools/gui/ORStoolsDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,9 @@ def _on_linetool_init(self):
self.line_tool = maptools.LineTool(self._iface.mapCanvas())
self._iface.mapCanvas().setMapTool(self.line_tool)
self.line_tool.pointPressed.connect(lambda point: self._on_movetool_map_press(point))
self.line_tool.pointReleased.connect(lambda point, idx: self._on_movetool_map_release(point, idx))
self.line_tool.pointReleased.connect(
lambda point, idx: self._on_movetool_map_release(point, idx)
)
self.line_tool.doubleClicked.connect(self._on_line_tool_map_doubleclick)

def _on_movetool_map_press(self, pos, click_dist=15):
Expand Down

0 comments on commit 7a3ecbe

Please sign in to comment.