|
@@ -2808,6 +2808,7 @@ EditorPropertyResource::EditorPropertyResource() {
|
|
assign->set_drag_forwarding(this);
|
|
assign->set_drag_forwarding(this);
|
|
assign->connect("draw", this, "_button_draw");
|
|
assign->connect("draw", this, "_button_draw");
|
|
hbc->add_child(assign);
|
|
hbc->add_child(assign);
|
|
|
|
+ add_focusable(assign);
|
|
|
|
|
|
preview = memnew(TextureRect);
|
|
preview = memnew(TextureRect);
|
|
preview->set_expand(true);
|
|
preview->set_expand(true);
|
|
@@ -2828,6 +2829,7 @@ EditorPropertyResource::EditorPropertyResource() {
|
|
edit->connect("pressed", this, "_update_menu");
|
|
edit->connect("pressed", this, "_update_menu");
|
|
hbc->add_child(edit);
|
|
hbc->add_child(edit);
|
|
edit->connect("gui_input", this, "_button_input");
|
|
edit->connect("gui_input", this, "_button_input");
|
|
|
|
+ add_focusable(edit);
|
|
|
|
|
|
file = NULL;
|
|
file = NULL;
|
|
scene_tree = NULL;
|
|
scene_tree = NULL;
|