mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Update LuaDialog example script to include File/Folder selection
This commit is contained in:
parent
ed5761a8b4
commit
104bebe1bd
1 changed files with 5 additions and 1 deletions
|
|
@ -76,7 +76,11 @@ function factory () return function ()
|
|||
|
||||
{ type = "heading", title = "Heading" },
|
||||
|
||||
{ type = "number", key = "number", title = "Whatever", min = 0, max = 10, step = 1, digits = 2 }
|
||||
{ type = "number", key = "number", title = "Whatever", min = 0, max = 10, step = 1, digits = 2 },
|
||||
|
||||
{ type = "file", key = "file", title = "Select a File", path = ARDOUR.LuaAPI.build_filename (Session:path (), Session:name () .. ".ardour") },
|
||||
|
||||
{ type = "folder", key = "folder", title = "Select a Folder", path = Session:path() }
|
||||
}
|
||||
|
||||
local od = LuaDialog.Dialog ("title", dialog_options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue