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

Don't save scripts when exiting editor #73641

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Feb 20, 2023

Fixes #18010

The script editor properly tracks saved/unsaved scripts, so only unsaved scripts will get discarded.
Unfortunately the user won't be warned, see #55026

@KoBeWi KoBeWi added this to the 4.0 milestone Feb 20, 2023
@KoBeWi KoBeWi requested a review from a team as a code owner February 20, 2023 18:31
@YuriSizov YuriSizov modified the milestones: 4.0, 4.1 Feb 20, 2023
@akien-mga
Copy link
Member

Unfortunately the user won't be warned, see #55026

Should we aim to solve this before merging this PR?

I feel like saving too eagerly is better than losing changes unknowingly.

@KoBeWi
Copy link
Member Author

KoBeWi commented Apr 3, 2023

I have a PR that resolves this issue: #67503, but it depends on yet another PR 🙃
But this can wait I guess.

Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, to be merged after #67503.

@akien-mga akien-mga modified the milestones: 4.1, 4.2 Jun 15, 2023
@YuriSizov YuriSizov merged commit bf73ac2 into godotengine:master Jul 21, 2023
@KoBeWi KoBeWi deleted the yolo_exiting branch July 21, 2023 15:20
@YuriSizov
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

Modified GDScript code gets saved to disk without a prompt
3 participants