From 0dc1bcb0c98f9b6a6a99bbf28206160bed031c8a Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Sun, 15 Jan 2023 18:04:35 -0500 Subject: Save history when goto script line in the text editor. --- editor/plugins/script_editor_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 2ca26ff2b9..4268abe4a2 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -439,6 +439,8 @@ void ScriptEditor::_goto_script_line(Ref p_script, int p_line) { } else if (current) { current->goto_line(p_line, true); } + + _save_history(); } } } -- cgit v1.2.3