From 8cc70d44689c9cf64afb9661bf32e7cf98bab9e2 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 4 Mar 2015 20:22:33 +0100 Subject: [PATCH] Refinement to the previous commit. --- pcbnew/router/length_tuner_tool.cpp | 3 ++- pcbnew/router/pns_tune_status_popup.cpp | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pcbnew/router/length_tuner_tool.cpp b/pcbnew/router/length_tuner_tool.cpp index e463d9f9c2..51e36abe2f 100644 --- a/pcbnew/router/length_tuner_tool.cpp +++ b/pcbnew/router/length_tuner_tool.cpp @@ -171,6 +171,8 @@ 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; @@ -197,7 +199,6 @@ 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 057e2aa853..a1e8b82734 100644 --- a/pcbnew/router/pns_tune_status_popup.cpp +++ b/pcbnew/router/pns_tune_status_popup.cpp @@ -28,8 +28,6 @@ PNS_TUNE_STATUS_POPUP::PNS_TUNE_STATUS_POPUP( PCB_EDIT_FRAME* 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 ); - - updateSize(); }