mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 01:51:10 +00:00
Save the current script when pressing Ctrl + S if no scene is open
- Tweak the dialog messages to be more informative.
- The "Saved N modified resources" dialog is not a warning per se,
so make it more explicit.
(cherry picked from commit 39f9b92f54)
This commit is contained in:
parent
c1e887edb8
commit
c318cf6ed2
3 changed files with 53 additions and 44 deletions
|
|
@ -276,7 +276,6 @@ 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();
|
||||
|
||||
|
|
@ -428,6 +427,7 @@ public:
|
|||
|
||||
void get_breakpoints(List<String> *p_breakpoints);
|
||||
|
||||
void save_current_script();
|
||||
void save_all_scripts();
|
||||
|
||||
void set_window_layout(Ref<ConfigFile> p_layout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue