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

Method currentRow

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

Source from the content-addressed store, hash-verified

568}
569
570int VersionPage::currentRow()
571{
572 if (ui->packageView->selectionModel()->selectedRows().isEmpty())
573 {
574 return -1;
575 }
576 return ui->packageView->selectionModel()->selectedRows().first().row();
577}
578
579void VersionPage::on_actionCustomize_triggered()
580{

Callers

nothing calls this directly

Calls 3

isEmptyMethod · 0.80
selectedRowsMethod · 0.80
firstMethod · 0.45

Tested by

no test coverage detected