Skip to content

🐞 App crashes when unsaved file alert presented #1453

@avinizhanov

Description

@avinizhanov

Description

If attempting to close an unsaved file, you get an alert to confirm the action but your selection does not work and often times crashes the app.

Copied from #1441

To Reproduce

  1. Open a file and make changes, but don't save
  2. Close tab, in unsaved file alert dialog choose any option
  3. App crashes

Expected Behavior

App not crash, file saved or not saved depending on selection.

Version Information

CodeEdit: main branch
macOS: 14.0
Xcode: 15.0

Additional Context

No response

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds refinementThis issue is not complete and has to be refined by the maintainers

    Type

    No type

    Projects

    Status

    🏁 Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions