diff --git a/pcbnew/router/length_tuner_tool.cpp b/pcbnew/router/length_tuner_tool.cpp index 51e36abe2f..e463d9f9c2 100644 --- a/pcbnew/router/length_tuner_tool.cpp +++ b/pcbnew/router/length_tuner_tool.cpp @@ -171,8 +171,6 @@ void LENGTH_TUNER_TOOL::performTuning() } PNS_TUNE_STATUS_POPUP statusPopup( m_frame ); - statusPopup.Popup(); - PNS_MEANDER_PLACER* placer = static_cast( m_router->Placer() ); VECTOR2I end; @@ -199,6 +197,7 @@ void LENGTH_TUNER_TOOL::performTuning() statusPopup.Update( m_router ); statusPopup.Move( p ); + statusPopup.Popup(); } else if( evt->IsClick( BUT_LEFT ) ) { diff --git a/pcbnew/router/pns_tune_status_popup.cpp b/pcbnew/router/pns_tune_status_popup.cpp index 3250b2c56d..057e2aa853 100644 --- a/pcbnew/router/pns_tune_status_popup.cpp +++ b/pcbnew/router/pns_tune_status_popup.cpp @@ -25,11 +25,11 @@ PNS_TUNE_STATUS_POPUP::PNS_TUNE_STATUS_POPUP( PCB_EDIT_FRAME* aParent ) : WX_STATUS_POPUP( aParent ) { - m_panel->SetBackgroundColour( wxColour( 64, 64, 64 ) ); - m_statusLine = new wxStaticText( m_panel, wxID_ANY, wxT( "Status text 1\n" ) ) ; - m_topSizer->Add( m_statusLine, 1, wxALL | wxEXPAND, 5 ); + m_panel->SetBackgroundColour( wxColour( 64, 64, 64 ) ); + m_statusLine = new wxStaticText( m_panel, wxID_ANY, wxT( "Status text 1\n" ) ) ; + m_topSizer->Add( m_statusLine, 1, wxALL | wxEXPAND, 5 ); - updateSize(); + updateSize(); }