Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow cancellation when saving as externally modified file #168

Open
Vectornaut opened this issue Mar 28, 2022 · 0 comments
Open

Allow cancellation when saving as externally modified file #168

Vectornaut opened this issue Mar 28, 2022 · 0 comments

Comments

@Vectornaut
Copy link

Right now, if I try to save an editor tab into a file that's been modified externally, I'm presented with two options:

  • Reload: Overwrite the tab with the contents of the file.
  • Save: Overwrite the file with the contents of the tab.

If I don't want to overwrite anything, I have to choose a secret third option: pressing [escape] to dismiss the dialog. I want to present this option explicitly as a Cancel button in the dialog. I also want to remove the Reload button, because I never ever want to do this. If there are no objections, I'll implement this and make a pull request.

Vectornaut pushed a commit to Vectornaut/gummi that referenced this issue Mar 29, 2022
This addresses issue alexandervdm#168 (alexandervdm/gummi).
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

No branches or pull requests

1 participant