Viewlib: menubar/view menu: make grid select working
Set also a better icon for this menu item
This commit is contained in:
parent
944ecc8913
commit
40382f4d52
|
@ -217,7 +217,7 @@ TOOL_ACTION ACTIONS::toggleGrid( "common.Control.toggleGrid",
|
|||
TOOL_ACTION ACTIONS::gridProperties( "common.Control.gridProperties",
|
||||
AS_GLOBAL, 0,
|
||||
_( "Grid Properties..." ), _( "Set grid dimensions" ),
|
||||
grid_xpm );
|
||||
grid_select_xpm );
|
||||
|
||||
TOOL_ACTION ACTIONS::imperialUnits( "common.Control.imperialUnits",
|
||||
AS_GLOBAL, 0,
|
||||
|
|
|
@ -82,6 +82,7 @@ BEGIN_EVENT_TABLE( LIB_VIEW_FRAME, EDA_DRAW_FRAME )
|
|||
// Menu (and/or hotkey) events
|
||||
EVT_MENU( wxID_EXIT, LIB_VIEW_FRAME::CloseLibraryViewer )
|
||||
EVT_MENU( ID_SET_RELATIVE_OFFSET, LIB_VIEW_FRAME::OnSetRelativeOffset )
|
||||
EVT_MENU( ID_GRID_SETTINGS, SCH_BASE_FRAME::OnGridSettings )
|
||||
|
||||
EVT_UPDATE_UI( ID_LIBVIEW_DE_MORGAN_NORMAL_BUTT, LIB_VIEW_FRAME::onUpdateNormalBodyStyleButton )
|
||||
EVT_UPDATE_UI( ID_LIBVIEW_DE_MORGAN_CONVERT_BUTT, LIB_VIEW_FRAME::onUpdateAltBodyStyleButton )
|
||||
|
|
Loading…
Reference in New Issue