aboutsummaryrefslogtreecommitdiff
path: root/src/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenes')
-rw-r--r--src/scenes/speck_editor.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scenes/speck_editor.lua b/src/scenes/speck_editor.lua
index 413b700..8ed4df9 100644
--- a/src/scenes/speck_editor.lua
+++ b/src/scenes/speck_editor.lua
@@ -69,7 +69,7 @@ local PROPERTY_TYPES = {
end
props[name] = trunc_filename_to_res(files[1])
- end, { defaultname = custom.directory or "" })
+ end, { defaultname = custom.directory or "", attachtowindow = true })
end
end
im.layout()
@@ -101,7 +101,7 @@ local function speck_editor_ui_sys(editor)
editor.filepath = trunc_filename_to_res(files[1])
editor.speck_sys = load_speck_sys_non_cached(editor.filepath)
- end, { defaultname = "res/speck/" })
+ end, { defaultname = "res/speck/", attachtowindow = true })
end
if im.button("Save as") then
@@ -112,7 +112,7 @@ local function speck_editor_ui_sys(editor)
editor.filepath = trunc_filename_to_res(files[1])
save(editor)
- end, { defaultname = "res/speck/" })
+ end, { defaultname = "res/speck/", attachtowindow = true })
end
if im.button("Save") then
save(editor)