Browse Source

gerbview: Give the tools menu a tool to use

Without this it can't actually dispatch any actions, so the
measure tool wasn't working when selected from the menu.
6.0.7
Ian McInerney 5 years ago
parent
commit
a697690ebb
  1. 2
      gerbview/menubar.cpp

2
gerbview/menubar.cpp

@ -208,7 +208,7 @@ void GERBVIEW_FRAME::ReCreateMenuBar()
//-- Tools menu -------------------------------------------------------
//
ACTION_MENU* toolsMenu = new ACTION_MENU( false );
ACTION_MENU* toolsMenu = new ACTION_MENU( false, selTool );
toolsMenu->Add( _( "&List DCodes..." ),
_( "List D-codes defined in Gerber files" ),

Loading…
Cancel
Save