mirror of
https://github.com/godotengine/godot.git
synced 2026-02-24 22:36:38 +03:00
Fix mark_scene_as_unsaved() not working with "Reload Saved Screen
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user