Fix: Validate script when navigating history in script editor

This commit is contained in:
Hannes Lindström committed 2025-11-27 21:05:23 +01:00
1 parent 3a97723ff2
commit 7504b5cee2
1 file changed
+2
+2
View File
@@ -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<EditorHelp>(n);