Skip to content
GitLab
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
96573795
Commit
96573795
authored
Feb 11, 2017
by
Jonathan Wilkes
Browse files
Merge branch 'aggraef/purr-data-recent-files-windows-fix'
parents
ce94500a
ae0617c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
96573795
...
...
@@ -735,7 +735,7 @@ function saveas_callback(cid, file, close_flag) {
set_pd_opendir
(
directory
);
// update the recent files list
var
norm_path
=
path
.
normalize
(
directory
);
pdsend
(
"
pd add-recent-file
"
,
enquote
(
path
.
join
(
norm_path
,
basename
)));
pdsend
(
"
pd add-recent-file
"
,
enquote
(
defunkify_windows_path
(
path
.
join
(
norm_path
,
basename
)))
)
;
}
exports
.
saveas_callback
=
saveas_callback
;
...
...
@@ -1033,7 +1033,7 @@ function process_file(file, do_open) {
//::pd_guiprefs::update_recentfiles "$filename" 1
// update the recent files list
var
norm_path
=
path
.
normalize
(
directory
);
pdsend
(
"
pd add-recent-file
"
,
enquote
(
path
.
join
(
norm_path
,
basename
)));
pdsend
(
"
pd add-recent-file
"
,
enquote
(
defunkify_windows_path
(
path
.
join
(
norm_path
,
basename
)))
)
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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