MCPcopy Create free account
hub / github.com/LeFroid/Viper-Browser / reloadScript

Method reloadScript

src/core/user_scripts/UserScriptModel.cpp:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void UserScriptModel::reloadScript(int indexRow)
178{
179 if (indexRow < 0 || indexRow >= rowCount())
180 return;
181
182 UserScript &script = m_scripts.at(indexRow);
183 if (script.load(script.m_fileName, m_scriptTemplate))
184 loadDependencies(indexRow);
185}
186
187void UserScriptModel::load()
188{

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected