MCPcopy Create free account
hub / github.com/Cubitect/cubiomes-viewer / removeCurrent

Method removeCurrent

src/formsearchcontrol.cpp:807–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805}
806
807void FormSearchControl::removeCurrent()
808{
809 QModelIndex index = ui->results->currentIndex();
810 int row = proxy->mapToSource(index).row();
811 if (row >= 0)
812 {
813 model->removeRow(row);
814 }
815}
816
817void FormSearchControl::copySeed()
818{

Callers

nothing calls this directly

Calls 1

removeRowMethod · 0.80

Tested by

no test coverage detected