Move footprint & symbol tree context menus to tool infrastructure.

Fixes: lp:1831692
* https://bugs.launchpad.net/kicad/+bug/1831692
This commit is contained in:
Jeff Young
2019-06-05 20:16:48 +01:00
parent c711ad5c7c
commit 2d40425e4d
46 changed files with 324 additions and 389 deletions
+4 -2
View File
@@ -30,13 +30,15 @@
#include <tool/action_menu.h>
TOOL_INTERACTIVE::TOOL_INTERACTIVE( TOOL_ID aId, const std::string& aName ) :
TOOL_BASE( INTERACTIVE, aId, aName )
TOOL_BASE( INTERACTIVE, aId, aName ),
m_menu( *this )
{
}
TOOL_INTERACTIVE::TOOL_INTERACTIVE( const std::string& aName ) :
TOOL_BASE( INTERACTIVE, TOOL_MANAGER::MakeToolId( aName ), aName )
TOOL_BASE( INTERACTIVE, TOOL_MANAGER::MakeToolId( aName ), aName ),
m_menu( *this )
{
}