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

Method AddToGroup

lib/macro/macro-tree.cpp:902–907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900}
901
902void MacroTree::AddToGroup(std::shared_ptr<Macro> item,
903 std::shared_ptr<Macro> group) const
904{
905 GetModel()->Add(item);
906 GetModel()->MoveToBeginningOfGroup(item, group);
907}
908
909std::shared_ptr<Macro> MacroTree::GetCurrentMacro() const
910{

Callers 1

on_macroAdd_clickedMethod · 0.80

Calls 2

AddMethod · 0.45

Tested by

no test coverage detected