1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Allow closing a script tab without saving

This commit is contained in:
Wilhem Barbier
2017-01-02 19:45:59 +01:00
committed by Rémi Verschelde
parent 07f65184f3
commit a1d07fd6d6
2 changed files with 16 additions and 4 deletions

View File

@@ -219,9 +219,10 @@ class ScriptEditor : public VBoxContainer {
bool _test_script_times_on_disk(Ref<Script> p_for_script=Ref<Script>());
void _close_tab(int p_idx);
void _close_tab(int p_idx, bool p_save=true);
void _close_current_tab();
void _close_discard_current_tab(const String& p_str);
void _close_docs_tab();
void _close_all_tabs();