MCPcopy Create free account
hub / github.com/clementgallet/libTAS / addScript

Method addScript

src/program/ui/LuaConsoleWindow.cpp:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void LuaConsoleWindow::addScript()
101{
102 QString filename = QFileDialog::getOpenFileName(this, tr("Lua script"), context->gamepath.c_str());
103 if (filename.isNull())
104 return;
105
106 luaModel->addFile(filename);
107}
108
109void LuaConsoleWindow::removeScript()
110{

Callers

nothing calls this directly

Calls 2

c_strMethod · 0.45
addFileMethod · 0.45

Tested by

no test coverage detected