Refinement to the previous commit.
This commit is contained in:
parent
63ae839489
commit
8cc70d4468
|
@ -171,6 +171,8 @@ void LENGTH_TUNER_TOOL::performTuning()
|
||||||
}
|
}
|
||||||
|
|
||||||
PNS_TUNE_STATUS_POPUP statusPopup( m_frame );
|
PNS_TUNE_STATUS_POPUP statusPopup( m_frame );
|
||||||
|
statusPopup.Popup();
|
||||||
|
|
||||||
PNS_MEANDER_PLACER* placer = static_cast<PNS_MEANDER_PLACER*>( m_router->Placer() );
|
PNS_MEANDER_PLACER* placer = static_cast<PNS_MEANDER_PLACER*>( m_router->Placer() );
|
||||||
VECTOR2I end;
|
VECTOR2I end;
|
||||||
|
|
||||||
|
@ -197,7 +199,6 @@ void LENGTH_TUNER_TOOL::performTuning()
|
||||||
|
|
||||||
statusPopup.Update( m_router );
|
statusPopup.Update( m_router );
|
||||||
statusPopup.Move( p );
|
statusPopup.Move( p );
|
||||||
statusPopup.Popup();
|
|
||||||
}
|
}
|
||||||
else if( evt->IsClick( BUT_LEFT ) )
|
else if( evt->IsClick( BUT_LEFT ) )
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,8 +28,6 @@ PNS_TUNE_STATUS_POPUP::PNS_TUNE_STATUS_POPUP( PCB_EDIT_FRAME* aParent ) :
|
||||||
m_panel->SetBackgroundColour( wxColour( 64, 64, 64 ) );
|
m_panel->SetBackgroundColour( wxColour( 64, 64, 64 ) );
|
||||||
m_statusLine = new wxStaticText( m_panel, wxID_ANY, wxT( "Status text 1\n" ) ) ;
|
m_statusLine = new wxStaticText( m_panel, wxID_ANY, wxT( "Status text 1\n" ) ) ;
|
||||||
m_topSizer->Add( m_statusLine, 1, wxALL | wxEXPAND, 5 );
|
m_topSizer->Add( m_statusLine, 1, wxALL | wxEXPAND, 5 );
|
||||||
|
|
||||||
updateSize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue