From 7504b5cee25128b4df7f85828a7dc7aeb4dd0d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20Lindstr=C3=B6m?= Date: Thu, 27 Nov 2025 18:19:44 +0100 Subject: [PATCH] Fix: Validate script when navigating history in script editor --- editor/script/script_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/script/script_editor_plugin.cpp b/editor/script/script_editor_plugin.cpp index e582a26481e..4073b691809 100644 --- a/editor/script/script_editor_plugin.cpp +++ b/editor/script/script_editor_plugin.cpp @@ -3878,6 +3878,8 @@ void ScriptEditor::_update_history_pos(int p_new_pos) { if (scr.is_valid()) { notify_script_changed(scr); } + + seb->validate(); } EditorHelp *eh = Object::cast_to(n);