瀏覽代碼

Merge pull request #71485 from adamscott/history-local

Save history when goto script line in the text editor
Rémi Verschelde 2 年之前
父節點
當前提交
f639f5096e
共有 1 個文件被更改,包括 2 次插入0 次删除
  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();
 		}
 	}
 }