aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.h
diff options
context:
space:
mode:
authorvolzhs2018-02-07 06:32:03 +0900
committervolzhs2018-02-20 14:39:52 +0900
commitdf84290a7ee2e4e939fc4eccc030129227c83895 (patch)
tree650fccacd65468405b203da72a8b1fbca7557ef5 /editor/plugins/script_editor_plugin.h
parentfee29570d0a5ee2de5b6b8e28621636489ac9bb3 (diff)
downloadgodot-df84290a7ee2e4e939fc4eccc030129227c83895.tar.gz
godot-df84290a7ee2e4e939fc4eccc030129227c83895.tar.zst
godot-df84290a7ee2e4e939fc4eccc030129227c83895.zip
Keep to show current script when closing all docs
also fix error when removing multiple tabs from TabContainer at same frame. like closing multiple docs at once. Fix #16403
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r--editor/plugins/script_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h
index e98a4c97a..2e7652a7b 100644
--- a/editor/plugins/script_editor_plugin.h
+++ b/editor/plugins/script_editor_plugin.h
@@ -251,7 +251,7 @@ class ScriptEditor : public PanelContainer {
void _show_error_dialog(String p_path);
- void _close_tab(int p_idx, bool p_save = true);
+ void _close_tab(int p_idx, bool p_save = true, bool p_history_back = true);
void _close_current_tab();
void _close_discard_current_tab(const String &p_str);