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

Implements #3697, ask before closing edit dialog on unsaved changes #3698

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blutorange
Copy link
Contributor

@blutorange blutorange commented Jan 17, 2025

Adds a new option commandsOptions.edit.confirmUnsavedBeforeClose.

Defaults to false. When set to true, the edit dialog asks the user for confirmation first when they have unsaved changes and attempt to close the dialog. The user can either cancel the operation, keeping the dialog open, discard their changes, or save their changes.

Closes #3697

Defaults to false. When set to true, the edit dialog asks the
user for confirmation first when they have unsaved changes and
attempt to close the dialog. The user can either cancel the operation,
keeping the dialog open, discard their changes, or save their changes.

Implements Studio-42#3697
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.

Feature: When file being edited has unsaved changes, ask for confirmation before closing the edit dialog
2 participants