Explorar el Código

Merge pull request #71485 from adamscott/history-local

Save history when goto script line in the text editor
Rémi Verschelde hace 2 años
padre
commit
f639f5096e
Se han modificado 1 ficheros con 2 adiciones y 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();
 		}
 	}
 }