Procházet zdrojové kódy

Merge pull request #71485 from adamscott/history-local

Save history when goto script line in the text editor
Rémi Verschelde před 2 roky
rodič
revize
f639f5096e
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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();
 		}
 	}
 }