MCPcopy Create free account
hub / github.com/TeXworks/texworks / updateScriptsMenu

Method updateScriptsMenu

src/TWScriptableWindow.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void
64TWScriptableWindow::updateScriptsMenu()
65{
66 TWScriptManager * scriptManager = TWApp::instance()->getScriptManager();
67
68 removeScriptsFromMenu(scriptsMenu, staticScriptMenuItemCount);
69 addScriptsToMenu(scriptsMenu, scriptManager->getScripts());
70}
71
72void
73TWScriptableWindow::removeScriptsFromMenu(QMenu *menu, QList<QAction*>::size_type startIndex /* = 0 */)

Callers

nothing calls this directly

Calls 2

getScriptManagerMethod · 0.80
getScriptsMethod · 0.80

Tested by

no test coverage detected