mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 17:41:19 +00:00
Save the current script when adding a new method via signal connection
This makes it possible for external editors to pick up the changes.
Most modern editors should reload the file automatically,
but some older/lightweight editors may ask the user instead
(or only warn after trying to save in the external editor).
This closes #41283.
(cherry picked from commit 0ade686601)
This commit is contained in:
parent
f4e653d88f
commit
dc42ef2df9
2 changed files with 39 additions and 28 deletions
|
|
@ -276,6 +276,7 @@ class ScriptEditor : public PanelContainer {
|
|||
|
||||
String _get_debug_tooltip(const String &p_text, Node *_se);
|
||||
|
||||
void _save_current_script();
|
||||
void _resave_scripts(const String &p_str);
|
||||
void _reload_scripts();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue