Update LuaDialog example script to include File/Folder selection
This commit is contained in:
parent
ed5761a8b4
commit
104bebe1bd
|
@ -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…
Reference in New Issue
Block a user