Give the length tuning tool an inital end point that isn't the start point

Using the starting point as the end point means that the tool
initializes with 0 length traces and so nothing is visible.

Fixes https://gitlab.com/kicad/code/kicad/issues/1912
This commit is contained in:
Ian McInerney 2020-08-08 16:21:14 +01:00
parent f0b94dd0d4
commit 5c3bcb09fa
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ void LENGTH_TUNER_TOOL::performTuning()
placer->UpdateSettings( m_savedMeanderSettings );
VECTOR2I end( m_startSnapPoint );
VECTOR2I end = getViewControls()->GetMousePosition();
// Create an instance of PNS_TUNE_STATUS_POPUP.
// DO NOT create it on the stack: otherwise on Windows, wxWidgets 3.1.3