| 192 | } |
| 193 | |
| 194 | void CtrlrLuaMethodManager::addGroup (const String &groupName, const Uuid parentUuid, const Uuid groupUuid) |
| 195 | { |
| 196 | if (parentUuid.isNull()) |
| 197 | { |
| 198 | managerTree.addChild (getDefaultGroupTree(groupName, groupUuid), -1, nullptr); |
| 199 | } |
| 200 | else |
| 201 | { |
| 202 | if (getGroupByUuid (parentUuid).isValid()) |
| 203 | { |
| 204 | getGroupByUuid (parentUuid).addChild (getDefaultGroupTree(groupName, groupUuid), -1, nullptr); |
| 205 | } |
| 206 | } |
| 207 | // Notify the panel about the modification |
| 208 | owner.getOwner().luaManagerChanged(); |
| 209 | } |
| 210 | |
| 211 | void CtrlrLuaMethodManager::restoreMethod (const ValueTree &savedState, const Uuid parentUuid) |
| 212 | { |
no test coverage detected