1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Re-add attach button and context menu from 1880238c3e

This commit is contained in:
William Tumeo
2017-03-29 18:36:58 -03:00
parent 1307ff7eb1
commit d90809151f
4 changed files with 100 additions and 87 deletions

View File

@@ -49,6 +49,7 @@ class ScriptCreateDialog : public ConfirmationDialog {
VBoxContainer *path_vb;
AcceptDialog *alert;
bool path_valid;
bool create_new;
String initial_bp;
void _path_changed(const String &p_path = String());
@@ -59,6 +60,9 @@ class ScriptCreateDialog : public ConfirmationDialog {
void _browse_path();
void _file_selected(const String &p_file);
virtual void ok_pressed();
void _create_new();
void _load_exist();
void _update_controls();
protected:
static void _bind_methods();