|
|
|
@ -1,8 +1,8 @@ |
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application. |
|
|
|
* |
|
|
|
* Copyright (C) 2004 Jean-Pierre Charras, jaen-pierre.charras@gipsa-lab.inpg.com |
|
|
|
* Copyright (C) 1992-2011 KiCad Developers, see AUTHORS.txt for contributors. |
|
|
|
* Copyright (C) 2017 Jean-Pierre Charras, jp.charras at wanadoo.fr |
|
|
|
* Copyright (C) 1992-2017 KiCad Developers, see AUTHORS.txt for contributors. |
|
|
|
* |
|
|
|
* This program is free software; you can redistribute it and/or |
|
|
|
* modify it under the terms of the GNU General Public License |
|
|
|
@ -289,7 +289,7 @@ void EDA_DRAW_FRAME::AddMenuZoomAndGrid( wxMenu* MasterMenu ) |
|
|
|
for( unsigned i = 0; i < gridsList.GetCount(); i++ ) |
|
|
|
{ |
|
|
|
GRID_TYPE& grid = screen->GetGrid( i ); |
|
|
|
gridMenu->Append( grid.m_CmdId, gridsList[i], wxEmptyString, true ); |
|
|
|
gridMenu->Append( grid.m_CmdId, gridsList[i], wxEmptyString, wxITEM_CHECK ); |
|
|
|
|
|
|
|
if( (int)i == icurr ) |
|
|
|
gridMenu->Check( grid.m_CmdId, true ); |
|
|
|
|