MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / selectFirstItem

Method selectFirstItem

view/kernelcache/ui/kctriage.h:316–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 }
315
316 void selectFirstItem() override
317 {
318 if (m_proxyModel->rowCount() > 0) {
319 QModelIndex idx = m_proxyModel->index(0, 0);
320 if (idx.isValid()) {
321 selectionModel()->select(idx, QItemSelectionModel::ClearAndSelect);
322 setCurrentIndex(idx);
323 }
324 }
325 }
326
327 void activateFirstItem() override
328 {

Callers

nothing calls this directly

Calls 2

rowCountMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected