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.
This commit is contained in:
parent
f238d05ead
commit
a697690ebb
|
@ -208,7 +208,7 @@ void GERBVIEW_FRAME::ReCreateMenuBar()
|
||||||
|
|
||||||
//-- Tools menu -------------------------------------------------------
|
//-- Tools menu -------------------------------------------------------
|
||||||
//
|
//
|
||||||
ACTION_MENU* toolsMenu = new ACTION_MENU( false );
|
ACTION_MENU* toolsMenu = new ACTION_MENU( false, selTool );
|
||||||
|
|
||||||
toolsMenu->Add( _( "&List DCodes..." ),
|
toolsMenu->Add( _( "&List DCodes..." ),
|
||||||
_( "List D-codes defined in Gerber files" ),
|
_( "List D-codes defined in Gerber files" ),
|
||||||
|
|
Loading…
Reference in New Issue