Commit 516eb31f authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

use get_pd_opendir instead of get_pwd for the open dialog

parent e0e93697
......@@ -364,7 +364,7 @@ function nw_create_pd_window_menus(gui, w) {
style: "display: none;",
type: "file",
id: "fileDialog",
nwworkingdir: pdgui.get_pwd(),
nwworkingdir: pdgui.get_pd_opendir(),
multiple: null,
// These are copied from pd_filetypes in pdgui.js
accept: ".pd,.pat,.mxt,.mxb,.help"
......
......@@ -1141,7 +1141,7 @@ function nw_create_patch_window_menus(gui, w, name) {
style: "display: none;",
type: "file",
id: "fileDialog",
nwworkingdir: pdgui.get_pwd(),
nwworkingdir: pdgui.get_pd_opendir(),
multiple: null,
// These are copied from pd_filetypes in pdgui.js
accept: ".pd,.pat,.mxt,.mxb,.help"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment