Skip to content

Commit

Permalink
fix: reset linetool after line is finished (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian authored Nov 21, 2024
1 parent 880dad6 commit 8497c67
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 8497c67

Please sign in to comment.