Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
516eb31f
Commit
516eb31f
authored
Oct 25, 2016
by
Jonathan Wilkes
Browse files
use get_pd_opendir instead of get_pwd for the open dialog
parent
e0e93697
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/nw/index.js
View file @
516eb31f
...
...
@@ -364,7 +364,7 @@ function nw_create_pd_window_menus(gui, w) {
style
:
"
display: none;
"
,
type
:
"
file
"
,
id
:
"
fileDialog
"
,
nwworkingdir
:
pdgui
.
get_p
w
d
(),
nwworkingdir
:
pdgui
.
get_pd
_opendir
(),
multiple
:
null
,
// These are copied from pd_filetypes in pdgui.js
accept
:
"
.pd,.pat,.mxt,.mxb,.help
"
...
...
pd/nw/pd_canvas.js
View file @
516eb31f
...
...
@@ -1141,7 +1141,7 @@ function nw_create_patch_window_menus(gui, w, name) {
style
:
"
display: none;
"
,
type
:
"
file
"
,
id
:
"
fileDialog
"
,
nwworkingdir
:
pdgui
.
get_p
w
d
(),
nwworkingdir
:
pdgui
.
get_pd
_opendir
(),
multiple
:
null
,
// These are copied from pd_filetypes in pdgui.js
accept
:
"
.pd,.pat,.mxt,.mxb,.help
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment