MCPcopy Create free account
hub / github.com/MultiMC/Launcher / currentRow

Method currentRow

launcher/ui/pages/instance/VersionPage.cpp:598–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596}
597
598int VersionPage::currentRow()
599{
600 if (ui->packageView->selectionModel()->selectedRows().isEmpty())
601 {
602 return -1;
603 }
604 return ui->packageView->selectionModel()->selectedRows().first().row();
605}
606
607void VersionPage::on_actionCustomize_triggered()
608{

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
selectedRowsMethod · 0.80
firstMethod · 0.45

Tested by

no test coverage detected