Gerbview: Fix print toolbar button

Fixes https://gitlab.com/kicad/code/kicad/issues/4762
This commit is contained in:
Ian McInerney 2020-06-30 15:35:43 +01:00
parent 5ca23e3e5c
commit 659c0ecfcc
1 changed files with 1 additions and 2 deletions

View File

@ -65,8 +65,7 @@ void GERBVIEW_FRAME::ReCreateHToolbar()
m_mainToolBar->Add( GERBVIEW_ACTIONS::openDrillFile ); m_mainToolBar->Add( GERBVIEW_ACTIONS::openDrillFile );
m_mainToolBar->AddScaledSeparator( this ); m_mainToolBar->AddScaledSeparator( this );
m_mainToolBar->AddTool( wxID_PRINT, wxEmptyString, KiScaledBitmap( print_button_xpm, this ), m_mainToolBar->Add( ACTIONS::print );
_( "Print layers" ) );
m_mainToolBar->AddScaledSeparator( this ); m_mainToolBar->AddScaledSeparator( this );
m_mainToolBar->Add( ACTIONS::zoomRedraw ); m_mainToolBar->Add( ACTIONS::zoomRedraw );