1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Don't save unchanged script upon closing

(cherry picked from commit 12f5a5a701)
This commit is contained in:
kobewi
2021-03-04 01:04:31 +01:00
committed by Rémi Verschelde
parent aabb8d78ef
commit bc56681b0b
2 changed files with 7 additions and 8 deletions

View File

@@ -293,7 +293,7 @@ class ScriptEditor : public PanelContainer {
void _close_tab(int p_idx, bool p_save = true, bool p_history_back = true);
void _close_current_tab();
void _close_current_tab(bool p_save = true);
void _close_discard_current_tab(const String &p_str);
void _close_docs_tab();
void _close_other_tabs();