Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jeremypw
Copy link
Collaborator

Fixes #1261

Restores the old location of a document when "Save As" operation fails. This avoids the odd behaviour and possible data loss observed in the issue.

The "save_as" function now returns the correct value if the save operation fails (i.e. whether or not the file was actually saved).

@jeremypw jeremypw requested a review from a team January 30, 2023 18:26
@jeremypw jeremypw merged commit 9c4a04a into master Feb 2, 2023
@jeremypw jeremypw deleted the fix-savenew-unwritable branch February 2, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Saving new document to an unwritable location gives unexpected behaviour and possible data loss

3 participants