MCPcopy Create free account
hub / github.com/Neverous/efibooteditor / insertRow

Method insertRow

src/bootentrylistview.cpp:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void BootEntryListView::insertRow()
30{
31 if(options & BootEntryListModel::Option::ReadOnly)
32 return;
33
34 auto row = currentIndex().row();
35 if(model()->insertRow(row + 1))
36 setCurrentIndex(model()->index(row + 1, 0));
37}
38
39void BootEntryListView::duplicateRow()
40{

Callers

nothing calls this directly

Calls 1

indexMethod · 0.80

Tested by

no test coverage detected