MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / currentRow

Method currentRow

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

Source from the content-addressed store, hash-verified

520}
521
522int VersionPage::currentRow()
523{
524 if (ui->packageView->selectionModel()->selectedRows().isEmpty()) {
525 return -1;
526 }
527 return ui->packageView->selectionModel()->selectedRows().first().row();
528}
529
530void VersionPage::on_actionCustomize_triggered()
531{

Callers

nothing calls this directly

Calls 2

selectedRowsMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected