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

Method Reset

lib/macro/macro-tree.cpp:328–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326/* ========================================================================= */
327
328void MacroTreeModel::Reset(std::deque<std::shared_ptr<Macro>> &newItems)
329{
330 beginResetModel();
331 _macros = newItems;
332 endResetModel();
333
334 _mt->ResetWidgets();
335}
336
337static inline int
338ModelIndexToMacroIndex(int modelIdx,

Callers 2

ImportMacrosMethod · 0.45
SetupMacroTabMethod · 0.45

Calls 1

ResetWidgetsMethod · 0.80

Tested by

no test coverage detected