Move the Tramontana menu from P&R to Tools.
This commit is contained in:
parent
e968a5088f
commit
6361ad4ca0
|
@ -178,12 +178,12 @@ namespace Tramontana {
|
||||||
|
|
||||||
_viewer = viewer;
|
_viewer = viewer;
|
||||||
|
|
||||||
if (_viewer->hasMenuAction("placeAndRoute.extract")) {
|
if (_viewer->hasMenuAction("tools.extract")) {
|
||||||
cerr << Warning( "GraphicTramontanaEngine::addToMenu() - Tramontana extractor already hooked in." ) << endl;
|
cerr << Warning( "GraphicTramontanaEngine::addToMenu() - Tramontana extractor already hooked in." ) << endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_viewer->addToMenu( "placeAndRoute.extract"
|
_viewer->addToMenu( "tools.extract"
|
||||||
, "E&xtract . . . . . [Tramontana]"
|
, "E&xtract . . . . . [Tramontana]"
|
||||||
, "Run the extractor"
|
, "Run the extractor"
|
||||||
, std::bind(&GraphicTramontanaEngine::_extract,this)
|
, std::bind(&GraphicTramontanaEngine::_extract,this)
|
||||||
|
|
Loading…
Reference in New Issue