| 263 | } |
| 264 | |
| 265 | void CtrlrLuaMethodManager::addMethodFromFile (ValueTree groupToAddTo, const File &fileToUse, const Uuid methodUid) |
| 266 | { |
| 267 | if (groupToAddTo.isValid()) |
| 268 | { |
| 269 | groupToAddTo.addChild (getDefaultMethodTree (fileToUse, methodUid), -1, nullptr); |
| 270 | } |
| 271 | else |
| 272 | { |
| 273 | managerTree.addChild (getDefaultMethodTree (fileToUse, methodUid), -1, nullptr); |
| 274 | } |
| 275 | |
| 276 | // Notify the panel about the modification |
| 277 | owner.getOwner().luaManagerChanged(); |
| 278 | } |
| 279 | |
| 280 | void CtrlrLuaMethodManager::valueTreeChildAdded (ValueTree& parentTree, ValueTree& child) |
| 281 | { |
nothing calls this directly
no test coverage detected