diff --git a/pcbnew/tools/edit_tool.cpp b/pcbnew/tools/edit_tool.cpp index f471e72881..b42fefac76 100644 --- a/pcbnew/tools/edit_tool.cpp +++ b/pcbnew/tools/edit_tool.cpp @@ -2347,6 +2347,9 @@ bool EDIT_TOOL::pickReferencePoint( const wxString& aTooltip, const wxString& aS m_statusPopup->SetText( aTooltip ); + /// This allow the option of snapping in the tool + picker->SetSnapping( true ); + picker->SetClickHandler( [&]( const VECTOR2D& aPoint ) -> bool {