mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Save Lua script file origin (for later updates) -- GUI+Session plugin
This commit is contained in:
parent
24f070610c
commit
b83ea5bd49
1 changed files with 3 additions and 0 deletions
|
|
@ -1197,6 +1197,9 @@ LuaInstance::interactive_add (LuaScriptInfo::ScriptType type, int id)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LuaScriptParamPtr lspp (new LuaScriptParam("x-script-origin", "", spi->path, false));
|
||||||
|
lsp.push_back (lspp);
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case LuaScriptInfo::EditorAction:
|
case LuaScriptInfo::EditorAction:
|
||||||
return set_lua_action (id, spd.name(), script, lsp);
|
return set_lua_action (id, spd.name(), script, lsp);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue