Make sure we don't end up with stale picker handlers (lots of Sentry tickets).
This commit is contained in:
@@ -3196,6 +3196,8 @@ bool EDIT_TOOL::pickReferencePoint( const wxString& aTooltip, const wxString& aS
|
||||
|
||||
/// This allow the option of snapping in the tool
|
||||
picker->SetSnapping( true );
|
||||
picker->SetCursor( KICURSOR::PLACE );
|
||||
picker->ClearHandlers();
|
||||
|
||||
const auto setPickerLayerSet =
|
||||
[&]()
|
||||
|
||||
Reference in New Issue
Block a user