History | View | Annotate | Download (3.8 KB)
Attributes -> protected
Only use the editing selection to enable the tool, and ensure we have at least 2 selected features before trying to joint them with JTS.