MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / removeItem

Method removeItem

launcher/ui/pages/instance/ModFolderPage.cpp:144–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void ModFolderPage::removeItem()
145{
146
147 if (!m_controlsEnabled)
148 return;
149
150 auto selection = m_filterModel->mapSelectionToSource(ui->treeView->selectionModel()->selection());
151 m_model->deleteMods(selection.indexes());
152}
153
154void ModFolderPage::installMods()
155{

Callers

nothing calls this directly

Calls 1

deleteModsMethod · 0.80

Tested by

no test coverage detected