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

Mark unsaved named files as dirty #1598

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

Guldoman
Copy link
Member

@Guldoman Guldoman commented Sep 7, 2023

Unnamed files are marked as not dirty when empty to avoid unnecessary prompts when closing them.
New unsaved named files should be marked as dirty as the user probably created the file for a reason, even if they haven't added anything in there yet, and should be asked to save it to create the actual file.

@Guldoman Guldoman merged commit f69f43c into lite-xl:master Oct 18, 2023
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants