summaryrefslogtreecommitdiff
path: root/scripts/_dialog_test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/_dialog_test.lua')
-rw-r--r--scripts/_dialog_test.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/_dialog_test.lua b/scripts/_dialog_test.lua
index 87156826a7..cc02f82a46 100644
--- a/scripts/_dialog_test.lua
+++ b/scripts/_dialog_test.lua
@@ -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)