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

Method currentRow

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

Source from the content-addressed store, hash-verified

657}
658
659int VersionPage::currentRow()
660{
661 if (ui->packageView->selectionModel()->selectedRows().isEmpty())
662 {
663 return -1;
664 }
665 return ui->packageView->selectionModel()->selectedRows().first().row();
666}
667
668void VersionPage::on_actionCustomize_triggered()
669{

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
selectedRowsMethod · 0.80
firstMethod · 0.80

Tested by

no test coverage detected