1
0
Fork 0

Merge pull request #115699 from ryevdokimov/fix-set-history-unsaved

Fix `mark_scene_as_unsaved()` not working with `Reload Saved Screen`
This commit is contained in:
Thaddeus Crews 2026-02-02 12:57:30 -06:00
commit cbfc64fd6e
No known key found for this signature in database
GPG Key ID: 8C6E5FEB5FC03CCC
1 changed files with 1 additions and 0 deletions

View File

@ -389,6 +389,7 @@ void EditorUndoRedoManager::set_history_as_saved(int p_id) {
void EditorUndoRedoManager::set_history_as_unsaved(int p_id) {
History &history = get_or_create_history(p_id);
history.saved_version = UNSAVED_VERSION;
emit_signal(SNAME("history_changed"));
}
bool EditorUndoRedoManager::is_history_unsaved(int p_id) {