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

Deleting file from directory tree asks if you want to save, if you have unsaved changes #1498

Open
Akuli opened this issue Apr 6, 2024 · 2 comments

Comments

@Akuli
Copy link
Owner

Akuli commented Apr 6, 2024

This is dumb and it shouldn't ask. You don't want to save if you're about to delete the whole file.

@Moosems
Copy link
Contributor

Moosems commented Apr 6, 2024

Is this because of the closing of the tab?

@Akuli
Copy link
Owner Author

Akuli commented Apr 7, 2024

Yes, it somehow ends up calling FileTab.can_be_closed().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants