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

Method enableInteraction

launcher/minecraft/mod/ResourceFolderModel.cpp:483–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483void ResourceFolderModel::enableInteraction(bool enabled)
484{
485 if (m_can_interact == enabled)
486 return;
487
488 m_can_interact = enabled;
489 if (size())
490 emit dataChanged(index(0), index(size() - 1));
491}
492
493/* Standard Proxy Model for createFilterProxyModel */
494[[nodiscard]] bool ResourceFolderModel::ProxyModel::filterAcceptsRow(int source_row, const QModelIndex& source_parent) const

Callers 1

resourcePackListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected