summaryrefslogtreecommitdiff
path: root/gtk2_ardour/luainstance.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-03-20 11:15:47 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-03-20 11:15:47 -0700
commit51df70b40541115e514cf95a8e41f42baa8c6afc (patch)
tree26832fd1fc56da1d9a9106facc0db27e4773d3c5 /gtk2_ardour/luainstance.cc
parent94d859e30df6d11e808382da4ca1b02e93eb2912 (diff)
ActionManager::get_all_actions() no longer includes <Actions> in the paths it returns, part 3 (GUI)
Diffstat (limited to 'gtk2_ardour/luainstance.cc')
-rw-r--r--gtk2_ardour/luainstance.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/luainstance.cc b/gtk2_ardour/luainstance.cc
index 234eb53ae5..a334916539 100644
--- a/gtk2_ardour/luainstance.cc
+++ b/gtk2_ardour/luainstance.cc
@@ -477,17 +477,13 @@ lua_actionlist (lua_State *L)
if (parts[1] == _("ProcessorMenu"))
continue;
- /* strip <Actions>/ from the start */
- string path = (*p);
- path = path.substr (strlen ("<Actions>/"));
-
if (!action_tbl[parts[1]].isTable()) {
action_tbl[parts[1]] = luabridge::newTable (L);
}
assert (action_tbl[parts[1]].isTable());
luabridge::LuaRef tbl (action_tbl[parts[1]]);
assert (tbl.isTable());
- tbl[*l] = path;
+ tbl[*l] = *p;
}
luabridge::push (L, action_tbl);