Explorar o código

Merge pull request #71485 from adamscott/history-local

Save history when goto script line in the text editor
Rémi Verschelde %!s(int64=2) %!d(string=hai) anos
pai
achega
f639f5096e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      editor/plugins/script_editor_plugin.cpp

+ 2 - 0
editor/plugins/script_editor_plugin.cpp

@@ -439,6 +439,8 @@ void ScriptEditor::_goto_script_line(Ref<RefCounted> p_script, int p_line) {
 			} else if (current) {
 				current->goto_line(p_line, true);
 			}
+
+			_save_history();
 		}
 	}
 }