Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
244
void PopupWidget::selectFirstRow()
245
{
246
if (model && (model->rowCount(QModelIndex()) > 0))
247
list->setCurrentIndex(model->index(0, 0));
248
}
249
250
void PopupWidget::previous()
251
{
Callers
1
popupReference
Method · 0.45
Calls
4
QModelIndex
Class · 0.50
rowCount
Method · 0.45
setCurrentIndex
Method · 0.45
index
Method · 0.45
Tested by
no test coverage detected