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

ScriptCreateDialog: fix open error crash, remember template

This commit is contained in:
Poommetee Ketson
2017-07-07 15:22:23 +07:00
parent 8b362b5009
commit a94ea0b9fe
2 changed files with 25 additions and 11 deletions

View File

@@ -59,7 +59,6 @@ class ScriptCreateDialog : public ConfirmationDialog {
bool create_new;
bool is_browsing_parent;
String initial_bp;
EditorSettings *editor_settings;
bool is_new_script_created;
bool is_path_valid;
bool has_named_classes;
@@ -70,6 +69,7 @@ class ScriptCreateDialog : public ConfirmationDialog {
int current_language;
bool re_check_path;
String script_template;
Vector<String> template_list;
void _path_changed(const String &p_path = String());
void _lang_changed(int l = 0);