Gerbview: fix zoom to selection tool duplication.

This commit is contained in:
Baranovskiy Konstantin 2017-09-30 22:07:55 +03:00 committed by Maciej Suminski
parent a6f84051e9
commit a4440395be
1 changed files with 0 additions and 3 deletions

View File

@ -217,9 +217,6 @@ void GERBVIEW_FRAME::ReCreateOptToolbar( void )
m_optionsToolBar->AddTool( ID_NO_TOOL_SELECTED, wxEmptyString, KiBitmap( cursor_xpm ), m_optionsToolBar->AddTool( ID_NO_TOOL_SELECTED, wxEmptyString, KiBitmap( cursor_xpm ),
wxEmptyString, wxITEM_CHECK ); wxEmptyString, wxITEM_CHECK );
m_optionsToolBar->AddTool( ID_ZOOM_SELECTION, wxEmptyString, KiBitmap( zoom_area_xpm ),
_( "Zoom to selection" ), wxITEM_CHECK );
if( IsGalCanvasActive() ) if( IsGalCanvasActive() )
{ {
m_optionsToolBar->AddTool( ID_TB_MEASUREMENT_TOOL, wxEmptyString, m_optionsToolBar->AddTool( ID_TB_MEASUREMENT_TOOL, wxEmptyString,