diff options
| author | Michael Alexsander Silva Dias | 2018-01-07 22:31:36 -0200 |
|---|---|---|
| committer | Michael Alexsander Silva Dias | 2018-02-02 15:34:36 -0200 |
| commit | 140340978b45a4c117a8cea860e9ba182786a0f3 (patch) | |
| tree | 26e0355c54553010d033a8e03ced7c79dd763483 /editor/plugins/script_editor_plugin.h | |
| parent | f13d0344853edda03d56e44365a90ad4eed22883 (diff) | |
| download | godot-140340978b45a4c117a8cea860e9ba182786a0f3.tar.gz godot-140340978b45a4c117a8cea860e9ba182786a0f3.tar.zst godot-140340978b45a4c117a8cea860e9ba182786a0f3.zip | |
Changes for the "Recent Scripts" menu.
Diffstat (limited to '')
| -rw-r--r-- | editor/plugins/script_editor_plugin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h index e60e4cf8c..e98a4c97a 100644 --- a/editor/plugins/script_editor_plugin.h +++ b/editor/plugins/script_editor_plugin.h @@ -198,6 +198,7 @@ class ScriptEditor : public PanelContainer { VSplitContainer *list_split; TabContainer *tab_container; EditorFileDialog *file_dialog; + AcceptDialog *error_dialog; ConfirmationDialog *erase_tab_confirm; ScriptCreateDialog *script_create_dialog; ScriptEditorDebugger *debugger; @@ -227,8 +228,6 @@ class ScriptEditor : public PanelContainer { Vector<ScriptHistory> history; int history_pos; - Vector<String> previous_scripts; - EditorHelpIndex *help_index; void _tab_changed(int p_which); @@ -250,6 +249,8 @@ class ScriptEditor : public PanelContainer { void _update_recent_scripts(); void _open_recent_script(int p_idx); + void _show_error_dialog(String p_path); + void _close_tab(int p_idx, bool p_save = true); void _close_current_tab(); |
