History

Merge pull request #12039 from luiscuenca/currentAPI

Fix and improve currentAPI.js

Seth Alves committed 8 years ago

Commit 568c27d2 parents aefd294 38bfddf4 files · +817 −23Browse files

Showing the changes to interface/src/Menu.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Menu.cpp+8−0
@@ -758,6 +758,14 @@ Menu::Menu() { · 757 unmodified lines
758 // Developer > Stats758 // Developer > Stats
759 addCheckableActionToQMenuAndActionHash(developerMenu, MenuOption::Stats);759 addCheckableActionToQMenuAndActionHash(developerMenu, MenuOption::Stats);
760 760
761 // Developer > API Debugger
762 action = addActionToQMenuAndActionHash(developerMenu, "API Debugger");
763 connect(action, &QAction::triggered, [] {
764 auto scriptEngines = DependencyManager::get<ScriptEngines>();
765 QUrl defaultScriptsLoc = PathUtils::defaultScriptsLocation();
766 defaultScriptsLoc.setPath(defaultScriptsLoc.path() + "developer/utilities/tools/currentAPI.js");
767 scriptEngines->loadScript(defaultScriptsLoc.toString());
768 });
761 769
762#if 0 /// -------------- REMOVED FOR NOW --------------770#if 0 /// -------------- REMOVED FOR NOW --------------
763 addDisabledActionAndSeparator(navigateMenu, "History");771 addDisabledActionAndSeparator(navigateMenu, "History");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t