Skip to content

Modified GDScript code gets saved to disk without a prompt #18010

Closed
@Rubonnek

Description

@Rubonnek

Godot version:
master branch commit eaa5dfb

Steps to reproduce:

  1. Save all the changes to a scene.
  2. Open a GDScript with the built-in editor and write some text to it and do not save those changes.
  3. Go to Scene->Quit to exit the editor, and click on Quit.
  4. The GDScript that was being modified gets saved to disk

I've also noticed that when editing a GDScript that was just saved, it is not getting marked as modified in the editor as soon as you start typing.

Minimal reproduction project:
saved_without_asking.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions