Skip to content

Commit

Permalink
fix: Adding waypoints to GUI after calculating a route leads to error
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed Nov 19, 2024
1 parent 880dad6 commit d42b507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ORStools/gui/ORStoolsDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ def _on_linetool_map_doubleclick(self) -> None:
self.line_tool.doubleClicked.disconnect()
QApplication.restoreOverrideCursor()
self._iface.mapCanvas().setMapTool(self.last_maptool)
self.line_tool = None
self.show()

def color_duplicate_items(self, list_widget):
Expand Down

0 comments on commit d42b507

Please sign in to comment.