MCPcopy Create free account
hub / github.com/clementgallet/libTAS / insertInput

Method insertInput

src/program/ui/InputEditorView.cpp:831–841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

829}
830
831void InputEditorView::insertInput()
832{
833 const QModelIndexList indexes = selectionModel()->selectedRows();
834
835 /* If no row was selected, return */
836 if (indexes.count() == 0)
837 return;
838
839 inputEditorModel->insertRows(indexes[0].row(), 1, false);
840 inputEditorModel->shiftMarkers(indexes[0].row(), 1);
841}
842
843void InputEditorView::insertInputs()
844{

Callers

nothing calls this directly

Calls 2

insertRowsMethod · 0.80
shiftMarkersMethod · 0.80

Tested by

no test coverage detected