MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / Up

Method Up

lib/macro/macro-list.cpp:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void MacroList::Up()
114{
115 int idx = _list->currentRow();
116 if (idx != -1 && idx != 0) {
117 _list->insertItem(idx - 1, _list->takeItem(idx));
118 _list->setCurrentRow(idx - 1);
119 emit MovedUp(idx);
120 }
121}
122
123void MacroList::Down()
124{

Callers 1

on_macroUp_clickedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected