MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / setESPLock

Method setESPLock

src/pluginlistcontextmenu.cpp:130–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void PluginListContextMenu::setESPLock(const QModelIndexList& indices, bool locked)
131{
132 for (auto& idx : indices) {
133 if (m_core.pluginList()->isEnabled(idx.row())) {
134 m_core.pluginList()->lockESPIndex(idx.row(), locked);
135 }
136 }
137}
138
139void PluginListContextMenu::openOriginExplorer(const QModelIndexList& indices)
140{

Callers

nothing calls this directly

Calls 3

lockESPIndexMethod · 0.80
isEnabledMethod · 0.45
pluginListMethod · 0.45

Tested by

no test coverage detected