diff options
| author | mbalint12 | 2017-04-15 17:35:06 +0200 |
|---|---|---|
| committer | mbalint12 | 2017-04-15 23:29:09 +0200 |
| commit | a3afec588ce4f5643dcbae6d0e1ab14b898f6263 (patch) | |
| tree | 4f2ef62735153206da4275ad1095cd39f67dfe69 /editor/script_create_dialog.h | |
| parent | e55a496f79e80f9ab08c96bf0f74c565203758bb (diff) | |
| download | godot-a3afec588ce4f5643dcbae6d0e1ab14b898f6263.tar.gz godot-a3afec588ce4f5643dcbae6d0e1ab14b898f6263.tar.zst godot-a3afec588ce4f5643dcbae6d0e1ab14b898f6263.zip | |
Diffstat (limited to 'editor/script_create_dialog.h')
| -rw-r--r-- | editor/script_create_dialog.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/script_create_dialog.h b/editor/script_create_dialog.h index 499886fac..113d4a468 100644 --- a/editor/script_create_dialog.h +++ b/editor/script_create_dialog.h @@ -44,6 +44,7 @@ class ScriptCreateDialog : public ConfirmationDialog { Label *error_label; Label *path_error_label; LineEdit *parent_name; + Button *parent_browse_button; OptionButton *language_menu; LineEdit *file_path; EditorFileDialog *file_browse; @@ -52,6 +53,7 @@ class ScriptCreateDialog : public ConfirmationDialog { AcceptDialog *alert; bool path_valid; bool create_new; + bool is_browsing_parent; String initial_bp; EditorSettings *editor_settings; @@ -60,7 +62,7 @@ class ScriptCreateDialog : public ConfirmationDialog { void _built_in_pressed(); bool _validate(const String &p_strin); void _class_name_changed(const String &p_name); - void _browse_path(); + void _browse_path(bool browse_parent); void _file_selected(const String &p_file); virtual void ok_pressed(); void _create_new(); |
