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

Method onPreview

src/modinfodialogfiletree.cpp:220–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220void FileTreeTab::onPreview()
221{
222 auto selection = singleSelection();
223 if (!selection.isValid()) {
224 return;
225 }
226
227 core().previewFile(parentWidget(), mod().name(), m_fs->filePath(selection));
228}
229
230void FileTreeTab::onExplore()
231{

Callers

nothing calls this directly

Calls 3

previewFileMethod · 0.80
isValidMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected