Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
534d669f
Commit
534d669f
authored
Feb 07, 2019
by
Jonathan Wilkes
Browse files
fix #505: Canceling in the "Do you want to save" dialog doesn't work
parent
66277599
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
534d669f
...
...
@@ -1058,7 +1058,7 @@ function canvas_menuclose_callback(cid_for_dialog, cid, force) {
w
.
canvas_events
.
close_without_saving
(
cid
,
force
);
};
cancel_button
.
onclick
=
function
()
{
w
.
close_save_dialog
();
w
.
canvas_events
.
close_save_dialog
();
w
.
canvas_events
[
w
.
canvas_events
.
get_previous_state
()]();
}
...
...
Write
Preview
Markdown
is supported
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