MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / selectFirstRow

Method selectFirstRow

src/plugins/chat/widgets/referencepopup.cpp:244–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void PopupWidget::selectFirstRow()
245{
246 if (model && (model->rowCount(QModelIndex()) > 0))
247 list->setCurrentIndex(model->index(0, 0));
248}
249
250void PopupWidget::previous()
251{

Callers 1

popupReferenceMethod · 0.45

Calls 4

QModelIndexClass · 0.50
rowCountMethod · 0.45
setCurrentIndexMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected