mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Re-add attach button and context menu from 1880238c3e
This commit is contained in:
parent
1307ff7eb1
commit
d90809151f
4 changed files with 100 additions and 87 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue