FOOTPRINT_WIZARD_FRAME: minor fixes.
Fixes #7435 https://gitlab.com/kicad/code/kicad/issues/7435
This commit is contained in:
parent
38cc2f106b
commit
d2213708eb
|
@ -609,8 +609,10 @@ void FOOTPRINT_WIZARD_FRAME::ReCreateHToolbar()
|
|||
KiBitmap( lib_next_xpm ),
|
||||
_( "Select next parameters page" ) );
|
||||
|
||||
#if 0 // Currently: the 3D viewer is not useful
|
||||
m_mainToolBar->AddScaledSeparator( this );
|
||||
m_mainToolBar->Add( ACTIONS::show3DViewer );
|
||||
#endif
|
||||
|
||||
m_mainToolBar->AddScaledSeparator( this );
|
||||
m_mainToolBar->Add( ACTIONS::zoomRedraw );
|
||||
|
|
|
@ -47,7 +47,12 @@ void FOOTPRINT_WIZARD_FRAME::Process_Special_Functions( wxCommandEvent& event )
|
|||
switch( event.GetId() )
|
||||
{
|
||||
case ID_FOOTPRINT_WIZARD_NEXT:
|
||||
m_pageList->SetSelection( m_pageList->GetSelection() + 1, true );
|
||||
page = m_pageList->GetSelection() + 1;
|
||||
|
||||
if( (int)m_pageList->GetCount() <= page )
|
||||
page = m_pageList->GetCount() - 1;
|
||||
|
||||
m_pageList->SetSelection( page, true );
|
||||
ClickOnPageList( event );
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue