Do not display Interactive Routing Settings dialog twice
The dialog was displayed due to a global TOOL_ACTION and a hotkey assigned to a top menubar entry. Removing the hotkey from the menubar entry is not ideal, but less irritating than a dialog showing up twice.
This commit is contained in:
parent
583a9c08c0
commit
7b7355772e
|
@ -292,11 +292,10 @@ void prepareRouteMenu( wxMenu* aParentMenu )
|
|||
|
||||
aParentMenu->AppendSeparator();
|
||||
|
||||
text = AddHotkeyName( _( "&Interactive Router Settings..." ), g_Board_Editor_Hotkeys_Descr,
|
||||
HK_ROUTING_OPTIONS );
|
||||
AddMenuItem( aParentMenu, ID_MENU_INTERACTIVE_ROUTER_SETTINGS, text,
|
||||
AddMenuItem( aParentMenu, ID_MENU_INTERACTIVE_ROUTER_SETTINGS,
|
||||
_( "&Interactive Router Settings..." ),
|
||||
_( "Configure interactive router" ),
|
||||
KiBitmap( add_tracks_xpm ) ); // fixme: icon
|
||||
KiBitmap( tools_xpm ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue