Przeglądaj źródła

Merge pull request #71485 from adamscott/history-local

Save history when goto script line in the text editor
Rémi Verschelde 2 lat temu
rodzic
commit
f639f5096e
1 zmienionych plików z 2 dodań i 0 usunięć
  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();
 		}
 	}
 }