Reworked signal connection system, added support for Callable and Signal objects and made them default.
This commit is contained in:
parent
1a4be2cd8f
commit
69c95f4b4c
275 changed files with 3831 additions and 2948 deletions
|
|
@ -128,8 +128,8 @@ EditorLayoutsDialog::EditorLayoutsDialog() {
|
|||
name->set_margin(MARGIN_TOP, 5);
|
||||
name->set_anchor_and_margin(MARGIN_LEFT, ANCHOR_BEGIN, 5);
|
||||
name->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, -5);
|
||||
name->connect("gui_input", this, "_line_gui_input");
|
||||
name->connect("focus_entered", layout_names, "unselect_all");
|
||||
name->connect_compat("gui_input", this, "_line_gui_input");
|
||||
name->connect_compat("focus_entered", layout_names, "unselect_all");
|
||||
}
|
||||
|
||||
void EditorLayoutsDialog::set_name_line_enabled(bool p_enabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue